public static interface DescribedCertificate.Builder extends SdkPojo, CopyableBuilder<DescribedCertificate.Builder,DescribedCertificate>
| Modifier and Type | Method and Description |
|---|---|
DescribedCertificate.Builder |
activeDate(Instant activeDate)
An optional date that specifies when the certificate becomes active.
|
DescribedCertificate.Builder |
arn(String arn)
The unique Amazon Resource Name (ARN) for the certificate.
|
DescribedCertificate.Builder |
certificate(String certificate)
The file name for the certificate.
|
DescribedCertificate.Builder |
certificateChain(String certificateChain)
The list of certificates that make up the chain for the certificate.
|
DescribedCertificate.Builder |
certificateId(String certificateId)
An array of identifiers for the imported certificates.
|
DescribedCertificate.Builder |
description(String description)
The name or description that's used to identity the certificate.
|
DescribedCertificate.Builder |
inactiveDate(Instant inactiveDate)
An optional date that specifies when the certificate becomes inactive.
|
DescribedCertificate.Builder |
notAfterDate(Instant notAfterDate)
The final date that the certificate is valid.
|
DescribedCertificate.Builder |
notBeforeDate(Instant notBeforeDate)
The earliest date that the certificate is valid.
|
DescribedCertificate.Builder |
serial(String serial)
The serial number for the certificate.
|
DescribedCertificate.Builder |
status(CertificateStatusType status)
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
DescribedCertificate.Builder |
status(String status)
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
DescribedCertificate.Builder |
tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
|
DescribedCertificate.Builder |
tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for certificates.
|
DescribedCertificate.Builder |
tags(Tag... tags)
Key-value pairs that can be used to group and search for certificates.
|
DescribedCertificate.Builder |
type(CertificateType type)
If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. |
DescribedCertificate.Builder |
type(String type)
If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. |
DescribedCertificate.Builder |
usage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
|
DescribedCertificate.Builder |
usage(String usage)
Specifies whether this certificate is used for signing or encryption.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribedCertificate.Builder arn(String arn)
The unique Amazon Resource Name (ARN) for the certificate.
arn - The unique Amazon Resource Name (ARN) for the certificate.DescribedCertificate.Builder certificateId(String certificateId)
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
certificateId - An array of identifiers for the imported certificates. You use this identifier for working with
profiles and partner profiles.DescribedCertificate.Builder usage(String usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageType,
CertificateUsageTypeDescribedCertificate.Builder usage(CertificateUsageType usage)
Specifies whether this certificate is used for signing or encryption.
usage - Specifies whether this certificate is used for signing or encryption.CertificateUsageType,
CertificateUsageTypeDescribedCertificate.Builder status(String status)
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it
expires.
status - The certificate can be either ACTIVE, PENDING_ROTATION, or
INACTIVE. PENDING_ROTATION means that this certificate will replace the
current certificate when it expires.CertificateStatusType,
CertificateStatusTypeDescribedCertificate.Builder status(CertificateStatusType status)
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it
expires.
status - The certificate can be either ACTIVE, PENDING_ROTATION, or
INACTIVE. PENDING_ROTATION means that this certificate will replace the
current certificate when it expires.CertificateStatusType,
CertificateStatusTypeDescribedCertificate.Builder certificate(String certificate)
The file name for the certificate.
certificate - The file name for the certificate.DescribedCertificate.Builder certificateChain(String certificateChain)
The list of certificates that make up the chain for the certificate.
certificateChain - The list of certificates that make up the chain for the certificate.DescribedCertificate.Builder activeDate(Instant activeDate)
An optional date that specifies when the certificate becomes active.
activeDate - An optional date that specifies when the certificate becomes active.DescribedCertificate.Builder inactiveDate(Instant inactiveDate)
An optional date that specifies when the certificate becomes inactive.
inactiveDate - An optional date that specifies when the certificate becomes inactive.DescribedCertificate.Builder serial(String serial)
The serial number for the certificate.
serial - The serial number for the certificate.DescribedCertificate.Builder notBeforeDate(Instant notBeforeDate)
The earliest date that the certificate is valid.
notBeforeDate - The earliest date that the certificate is valid.DescribedCertificate.Builder notAfterDate(Instant notAfterDate)
The final date that the certificate is valid.
notAfterDate - The final date that the certificate is valid.DescribedCertificate.Builder type(String type)
If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
type - If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateType,
CertificateTypeDescribedCertificate.Builder type(CertificateType type)
If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
type - If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateType,
CertificateTypeDescribedCertificate.Builder description(String description)
The name or description that's used to identity the certificate.
description - The name or description that's used to identity the certificate.DescribedCertificate.Builder tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for certificates.
tags - Key-value pairs that can be used to group and search for certificates.DescribedCertificate.Builder tags(Tag... tags)
Key-value pairs that can be used to group and search for certificates.
tags - Key-value pairs that can be used to group and search for certificates.DescribedCertificate.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for certificates.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.