public static interface CertificateDetail.Builder extends SdkPojo, CopyableBuilder<CertificateDetail.Builder,CertificateDetail>
Modifier and Type | Method and Description |
---|---|
CertificateDetail.Builder |
certificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate.
|
CertificateDetail.Builder |
certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) of the ACM PCA private certificate authority (CA) that issued the certificate.
|
CertificateDetail.Builder |
createdAt(Instant createdAt)
The time at which the certificate was requested.
|
CertificateDetail.Builder |
domainName(String domainName)
The fully qualified domain name for the certificate, such as www.example.com or example.com.
|
CertificateDetail.Builder |
domainValidationOptions(Collection<DomainValidation> domainValidationOptions)
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request.
|
CertificateDetail.Builder |
domainValidationOptions(Consumer<DomainValidation.Builder>... domainValidationOptions)
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request.
|
CertificateDetail.Builder |
domainValidationOptions(DomainValidation... domainValidationOptions)
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request.
|
CertificateDetail.Builder |
extendedKeyUsages(Collection<ExtendedKeyUsage> extendedKeyUsages)
Contains a list of Extended Key Usage X.509 v3 extension objects.
|
CertificateDetail.Builder |
extendedKeyUsages(Consumer<ExtendedKeyUsage.Builder>... extendedKeyUsages)
Contains a list of Extended Key Usage X.509 v3 extension objects.
|
CertificateDetail.Builder |
extendedKeyUsages(ExtendedKeyUsage... extendedKeyUsages)
Contains a list of Extended Key Usage X.509 v3 extension objects.
|
CertificateDetail.Builder |
failureReason(FailureReason failureReason)
The reason the certificate request failed.
|
CertificateDetail.Builder |
failureReason(String failureReason)
The reason the certificate request failed.
|
CertificateDetail.Builder |
importedAt(Instant importedAt)
The date and time at which the certificate was imported.
|
CertificateDetail.Builder |
inUseBy(Collection<String> inUseBy)
A list of ARNs for the AWS resources that are using the certificate.
|
CertificateDetail.Builder |
inUseBy(String... inUseBy)
A list of ARNs for the AWS resources that are using the certificate.
|
CertificateDetail.Builder |
issuedAt(Instant issuedAt)
The time at which the certificate was issued.
|
CertificateDetail.Builder |
issuer(String issuer)
The name of the certificate authority that issued and signed the certificate.
|
CertificateDetail.Builder |
keyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm that was used to generate the public-private key pair.
|
CertificateDetail.Builder |
keyAlgorithm(String keyAlgorithm)
The algorithm that was used to generate the public-private key pair.
|
CertificateDetail.Builder |
keyUsages(Collection<KeyUsage> keyUsages)
A list of Key Usage X.509 v3 extension objects.
|
CertificateDetail.Builder |
keyUsages(Consumer<KeyUsage.Builder>... keyUsages)
A list of Key Usage X.509 v3 extension objects.
|
CertificateDetail.Builder |
keyUsages(KeyUsage... keyUsages)
A list of Key Usage X.509 v3 extension objects.
|
CertificateDetail.Builder |
notAfter(Instant notAfter)
The time after which the certificate is not valid.
|
CertificateDetail.Builder |
notBefore(Instant notBefore)
The time before which the certificate is not valid.
|
CertificateDetail.Builder |
options(CertificateOptions options)
Value that specifies whether to add the certificate to a transparency log.
|
default CertificateDetail.Builder |
options(Consumer<CertificateOptions.Builder> options)
Value that specifies whether to add the certificate to a transparency log.
|
CertificateDetail.Builder |
renewalEligibility(RenewalEligibility renewalEligibility)
Specifies whether the certificate is eligible for renewal.
|
CertificateDetail.Builder |
renewalEligibility(String renewalEligibility)
Specifies whether the certificate is eligible for renewal.
|
default CertificateDetail.Builder |
renewalSummary(Consumer<RenewalSummary.Builder> renewalSummary)
Contains information about the status of ACM's managed renewal for the
certificate.
|
CertificateDetail.Builder |
renewalSummary(RenewalSummary renewalSummary)
Contains information about the status of ACM's managed renewal for the
certificate.
|
CertificateDetail.Builder |
revocationReason(RevocationReason revocationReason)
The reason the certificate was revoked.
|
CertificateDetail.Builder |
revocationReason(String revocationReason)
The reason the certificate was revoked.
|
CertificateDetail.Builder |
revokedAt(Instant revokedAt)
The time at which the certificate was revoked.
|
CertificateDetail.Builder |
serial(String serial)
The serial number of the certificate.
|
CertificateDetail.Builder |
signatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
|
CertificateDetail.Builder |
status(CertificateStatus status)
The status of the certificate.
|
CertificateDetail.Builder |
status(String status)
The status of the certificate.
|
CertificateDetail.Builder |
subject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
|
CertificateDetail.Builder |
subjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the certificate.
|
CertificateDetail.Builder |
subjectAlternativeNames(String... subjectAlternativeNames)
One or more domain names (subject alternative names) included in the certificate.
|
CertificateDetail.Builder |
type(CertificateType type)
The source of the certificate.
|
CertificateDetail.Builder |
type(String type)
The source of the certificate.
|
copy
applyMutation, build
CertificateDetail.Builder certificateArn(String certificateArn)
The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
certificateArn
- The Amazon Resource Name (ARN) of the certificate. For more information about ARNs, see Amazon Resource Names
(ARNs) and AWS Service Namespaces in the AWS General Reference.CertificateDetail.Builder domainName(String domainName)
The fully qualified domain name for the certificate, such as www.example.com or example.com.
domainName
- The fully qualified domain name for the certificate, such as www.example.com or example.com.CertificateDetail.Builder subjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
subjectAlternativeNames
- One or more domain names (subject alternative names) included in the certificate. This list contains
the domain names that are bound to the public key that is contained in the certificate. The subject
alternative names include the canonical domain name (CN) of the certificate and additional domain
names that can be used to connect to the website.CertificateDetail.Builder subjectAlternativeNames(String... subjectAlternativeNames)
One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate. The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
subjectAlternativeNames
- One or more domain names (subject alternative names) included in the certificate. This list contains
the domain names that are bound to the public key that is contained in the certificate. The subject
alternative names include the canonical domain name (CN) of the certificate and additional domain
names that can be used to connect to the website.CertificateDetail.Builder domainValidationOptions(Collection<DomainValidation> domainValidationOptions)
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request. This field exists only when the certificate type is
AMAZON_ISSUED
.
domainValidationOptions
- Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request. This field exists only when the certificate type is
AMAZON_ISSUED
.CertificateDetail.Builder domainValidationOptions(DomainValidation... domainValidationOptions)
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request. This field exists only when the certificate type is
AMAZON_ISSUED
.
domainValidationOptions
- Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request. This field exists only when the certificate type is
AMAZON_ISSUED
.CertificateDetail.Builder domainValidationOptions(Consumer<DomainValidation.Builder>... domainValidationOptions)
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request. This field exists only when the certificate type is
AMAZON_ISSUED
.
List.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #domainValidationOptions(List)
.domainValidationOptions
- a consumer that will call methods on List.Builder
#domainValidationOptions(List)
CertificateDetail.Builder serial(String serial)
The serial number of the certificate.
serial
- The serial number of the certificate.CertificateDetail.Builder subject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
subject
- The name of the entity that is associated with the public key contained in the certificate.CertificateDetail.Builder issuer(String issuer)
The name of the certificate authority that issued and signed the certificate.
issuer
- The name of the certificate authority that issued and signed the certificate.CertificateDetail.Builder createdAt(Instant createdAt)
The time at which the certificate was requested. This value exists only when the certificate type is
AMAZON_ISSUED
.
createdAt
- The time at which the certificate was requested. This value exists only when the certificate type is
AMAZON_ISSUED
.CertificateDetail.Builder issuedAt(Instant issuedAt)
The time at which the certificate was issued. This value exists only when the certificate type is
AMAZON_ISSUED
.
issuedAt
- The time at which the certificate was issued. This value exists only when the certificate type is
AMAZON_ISSUED
.CertificateDetail.Builder importedAt(Instant importedAt)
The date and time at which the certificate was imported. This value exists only when the certificate type is
IMPORTED
.
importedAt
- The date and time at which the certificate was imported. This value exists only when the certificate
type is IMPORTED
.CertificateDetail.Builder status(String status)
The status of the certificate.
status
- The status of the certificate.CertificateStatus
,
CertificateStatus
CertificateDetail.Builder status(CertificateStatus status)
The status of the certificate.
status
- The status of the certificate.CertificateStatus
,
CertificateStatus
CertificateDetail.Builder revokedAt(Instant revokedAt)
The time at which the certificate was revoked. This value exists only when the certificate status is
REVOKED
.
revokedAt
- The time at which the certificate was revoked. This value exists only when the certificate status is
REVOKED
.CertificateDetail.Builder revocationReason(String revocationReason)
The reason the certificate was revoked. This value exists only when the certificate status is
REVOKED
.
revocationReason
- The reason the certificate was revoked. This value exists only when the certificate status is
REVOKED
.RevocationReason
,
RevocationReason
CertificateDetail.Builder revocationReason(RevocationReason revocationReason)
The reason the certificate was revoked. This value exists only when the certificate status is
REVOKED
.
revocationReason
- The reason the certificate was revoked. This value exists only when the certificate status is
REVOKED
.RevocationReason
,
RevocationReason
CertificateDetail.Builder notBefore(Instant notBefore)
The time before which the certificate is not valid.
notBefore
- The time before which the certificate is not valid.CertificateDetail.Builder notAfter(Instant notAfter)
The time after which the certificate is not valid.
notAfter
- The time after which the certificate is not valid.CertificateDetail.Builder keyAlgorithm(String keyAlgorithm)
The algorithm that was used to generate the public-private key pair.
keyAlgorithm
- The algorithm that was used to generate the public-private key pair.KeyAlgorithm
,
KeyAlgorithm
CertificateDetail.Builder keyAlgorithm(KeyAlgorithm keyAlgorithm)
The algorithm that was used to generate the public-private key pair.
keyAlgorithm
- The algorithm that was used to generate the public-private key pair.KeyAlgorithm
,
KeyAlgorithm
CertificateDetail.Builder signatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
signatureAlgorithm
- The algorithm that was used to sign the certificate.CertificateDetail.Builder inUseBy(Collection<String> inUseBy)
A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by multiple AWS resources.
inUseBy
- A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by
multiple AWS resources.CertificateDetail.Builder inUseBy(String... inUseBy)
A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by multiple AWS resources.
inUseBy
- A list of ARNs for the AWS resources that are using the certificate. A certificate can be used by
multiple AWS resources.CertificateDetail.Builder failureReason(String failureReason)
The reason the certificate request failed. This value exists only when the certificate status is
FAILED
. For more information, see Certificate Request Failed in the AWS Certificate Manager User Guide.
failureReason
- The reason the certificate request failed. This value exists only when the certificate status is
FAILED
. For more information, see Certificate Request Failed in the AWS Certificate Manager User Guide.FailureReason
,
FailureReason
CertificateDetail.Builder failureReason(FailureReason failureReason)
The reason the certificate request failed. This value exists only when the certificate status is
FAILED
. For more information, see Certificate Request Failed in the AWS Certificate Manager User Guide.
failureReason
- The reason the certificate request failed. This value exists only when the certificate status is
FAILED
. For more information, see Certificate Request Failed in the AWS Certificate Manager User Guide.FailureReason
,
FailureReason
CertificateDetail.Builder type(String type)
The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED
.
For certificates that you imported with ImportCertificate, this value is IMPORTED
. ACM
does not provide managed
renewal for imported certificates. For more information about the differences between certificates that
you import and those that ACM provides, see Importing Certificates in
the AWS Certificate Manager User Guide.
type
- The source of the certificate. For certificates provided by ACM, this value is
AMAZON_ISSUED
. For certificates that you imported with ImportCertificate, this
value is IMPORTED
. ACM does not provide managed renewal for
imported certificates. For more information about the differences between certificates that you import
and those that ACM provides, see Importing
Certificates in the AWS Certificate Manager User Guide.CertificateType
,
CertificateType
CertificateDetail.Builder type(CertificateType type)
The source of the certificate. For certificates provided by ACM, this value is AMAZON_ISSUED
.
For certificates that you imported with ImportCertificate, this value is IMPORTED
. ACM
does not provide managed
renewal for imported certificates. For more information about the differences between certificates that
you import and those that ACM provides, see Importing Certificates in
the AWS Certificate Manager User Guide.
type
- The source of the certificate. For certificates provided by ACM, this value is
AMAZON_ISSUED
. For certificates that you imported with ImportCertificate, this
value is IMPORTED
. ACM does not provide managed renewal for
imported certificates. For more information about the differences between certificates that you import
and those that ACM provides, see Importing
Certificates in the AWS Certificate Manager User Guide.CertificateType
,
CertificateType
CertificateDetail.Builder renewalSummary(RenewalSummary renewalSummary)
Contains information about the status of ACM's managed renewal for the
certificate. This field exists only when the certificate type is AMAZON_ISSUED
.
renewalSummary
- Contains information about the status of ACM's managed renewal for the
certificate. This field exists only when the certificate type is AMAZON_ISSUED
.default CertificateDetail.Builder renewalSummary(Consumer<RenewalSummary.Builder> renewalSummary)
Contains information about the status of ACM's managed renewal for the
certificate. This field exists only when the certificate type is AMAZON_ISSUED
.
RenewalSummary.Builder
avoiding the need to
create one manually via RenewalSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to renewalSummary(RenewalSummary)
.renewalSummary
- a consumer that will call methods on RenewalSummary.Builder
renewalSummary(RenewalSummary)
CertificateDetail.Builder keyUsages(Collection<KeyUsage> keyUsages)
A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
keyUsages
- A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the
purpose of the public key contained in the certificate. Possible extension values include
DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.CertificateDetail.Builder keyUsages(KeyUsage... keyUsages)
A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
keyUsages
- A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the
purpose of the public key contained in the certificate. Possible extension values include
DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.CertificateDetail.Builder keyUsages(Consumer<KeyUsage.Builder>... keyUsages)
A list of Key Usage X.509 v3 extension objects. Each object is a string value that identifies the purpose of the public key contained in the certificate. Possible extension values include DIGITAL_SIGNATURE, KEY_ENCHIPHERMENT, NON_REPUDIATION, and more.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #keyUsages(List)
.keyUsages
- a consumer that will call methods on List.Builder
#keyUsages(List)
CertificateDetail.Builder extendedKeyUsages(Collection<ExtendedKeyUsage> extendedKeyUsages)
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
extendedKeyUsages
- Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for
which the certificate public key can be used and consists of a name and an object identifier (OID).CertificateDetail.Builder extendedKeyUsages(ExtendedKeyUsage... extendedKeyUsages)
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
extendedKeyUsages
- Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for
which the certificate public key can be used and consists of a name and an object identifier (OID).CertificateDetail.Builder extendedKeyUsages(Consumer<ExtendedKeyUsage.Builder>... extendedKeyUsages)
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #extendedKeyUsages(List)
.extendedKeyUsages
- a consumer that will call methods on List.Builder
#extendedKeyUsages(List)
CertificateDetail.Builder certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) of the ACM PCA private certificate authority (CA) that issued the certificate. This has the following format:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
certificateAuthorityArn
- The Amazon Resource Name (ARN) of the ACM PCA private certificate authority (CA) that issued the
certificate. This has the following format:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
CertificateDetail.Builder renewalEligibility(String renewalEligibility)
Specifies whether the certificate is eligible for renewal.
renewalEligibility
- Specifies whether the certificate is eligible for renewal.RenewalEligibility
,
RenewalEligibility
CertificateDetail.Builder renewalEligibility(RenewalEligibility renewalEligibility)
Specifies whether the certificate is eligible for renewal.
renewalEligibility
- Specifies whether the certificate is eligible for renewal.RenewalEligibility
,
RenewalEligibility
CertificateDetail.Builder options(CertificateOptions options)
Value that specifies whether to add the certificate to a transparency log. Certificate transparency makes it possible to detect SSL certificates that have been mistakenly or maliciously issued. A browser might respond to certificate that has not been logged by showing an error message. The logs are cryptographically secure.
options
- Value that specifies whether to add the certificate to a transparency log. Certificate transparency
makes it possible to detect SSL certificates that have been mistakenly or maliciously issued. A
browser might respond to certificate that has not been logged by showing an error message. The logs
are cryptographically secure.default CertificateDetail.Builder options(Consumer<CertificateOptions.Builder> options)
Value that specifies whether to add the certificate to a transparency log. Certificate transparency makes it possible to detect SSL certificates that have been mistakenly or maliciously issued. A browser might respond to certificate that has not been logged by showing an error message. The logs are cryptographically secure.
This is a convenience that creates an instance of theCertificateOptions.Builder
avoiding the need to
create one manually via CertificateOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to options(CertificateOptions)
.options
- a consumer that will call methods on CertificateOptions.Builder
options(CertificateOptions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.