Interface CertificateSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CertificateSummary.Builder,
,CertificateSummary> SdkBuilder<CertificateSummary.Builder,
,CertificateSummary> SdkPojo
- Enclosing class:
CertificateSummary
-
Method Summary
Modifier and TypeMethodDescriptioncertificateArn
(String certificateArn) Amazon Resource Name (ARN) of the certificate.The time at which the certificate was requested.domainName
(String domainName) Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.Indicates whether the certificate has been exported.extendedKeyUsages
(Collection<ExtendedKeyUsageName> extendedKeyUsages) Contains a list of Extended Key Usage X.509 v3 extension objects.extendedKeyUsages
(ExtendedKeyUsageName... extendedKeyUsages) Contains a list of Extended Key Usage X.509 v3 extension objects.extendedKeyUsagesWithStrings
(String... extendedKeyUsages) Contains a list of Extended Key Usage X.509 v3 extension objects.extendedKeyUsagesWithStrings
(Collection<String> extendedKeyUsages) Contains a list of Extended Key Usage X.509 v3 extension objects.hasAdditionalSubjectAlternativeNames
(Boolean hasAdditionalSubjectAlternativeNames) When called by ListCertificates, indicates whether the full list of subject alternative names has been included in the response.importedAt
(Instant importedAt) The date and time when the certificate was imported.Indicates whether the certificate is currently in use by any Amazon Web Services resources.The time at which the certificate was issued.keyAlgorithm
(String keyAlgorithm) The algorithm that was used to generate the public-private key pair.keyAlgorithm
(KeyAlgorithm keyAlgorithm) The algorithm that was used to generate the public-private key pair.keyUsages
(Collection<KeyUsageName> keyUsages) A list of Key Usage X.509 v3 extension objects.keyUsages
(KeyUsageName... keyUsages) A list of Key Usage X.509 v3 extension objects.keyUsagesWithStrings
(String... keyUsages) A list of Key Usage X.509 v3 extension objects.keyUsagesWithStrings
(Collection<String> keyUsages) A list of Key Usage X.509 v3 extension objects.The time after which the certificate is not valid.The time before which the certificate is not valid.renewalEligibility
(String renewalEligibility) Specifies whether the certificate is eligible for renewal.renewalEligibility
(RenewalEligibility renewalEligibility) Specifies whether the certificate is eligible for renewal.The time at which the certificate was revoked.The status of the certificate.status
(CertificateStatus status) The status of the certificate.subjectAlternativeNameSummaries
(String... subjectAlternativeNameSummaries) One or more domain names (subject alternative names) included in the certificate.subjectAlternativeNameSummaries
(Collection<String> subjectAlternativeNameSummaries) One or more domain names (subject alternative names) included in the certificate.The source of the certificate.type
(CertificateType type) The source of the certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
certificateArn
Amazon Resource Name (ARN) of the certificate. This is of the form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
- Parameters:
certificateArn
- Amazon Resource Name (ARN) of the certificate. This is of the form:arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainName
Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.
- Parameters:
domainName
- Fully qualified domain name (FQDN), such as www.example.com or example.com, for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectAlternativeNameSummaries
CertificateSummary.Builder subjectAlternativeNameSummaries(Collection<String> subjectAlternativeNameSummaries) 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.
When called by ListCertificates, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.
- Parameters:
subjectAlternativeNameSummaries
- 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.When called by ListCertificates , this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectAlternativeNameSummaries
CertificateSummary.Builder subjectAlternativeNameSummaries(String... subjectAlternativeNameSummaries) 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.
When called by ListCertificates, this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.
- Parameters:
subjectAlternativeNameSummaries
- 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.When called by ListCertificates , this parameter will only return the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hasAdditionalSubjectAlternativeNames
CertificateSummary.Builder hasAdditionalSubjectAlternativeNames(Boolean hasAdditionalSubjectAlternativeNames) When called by ListCertificates, indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.
- Parameters:
hasAdditionalSubjectAlternativeNames
- When called by ListCertificates , indicates whether the full list of subject alternative names has been included in the response. If false, the response includes all of the subject alternative names included in the certificate. If true, the response only includes the first 100 subject alternative names included in the certificate. To display the full list of subject alternative names, use DescribeCertificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the certificate.
A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.
- Parameters:
status
- The status of the certificate.A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the certificate.
A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.
- Parameters:
status
- The status of the certificate.A certificate enters status PENDING_VALIDATION upon being requested, unless it fails for any of the reasons given in the troubleshooting topic Certificate request fails. ACM makes repeated attempts to validate a certificate for 72 hours and then times out. If a certificate shows status FAILED or VALIDATION_TIMED_OUT, delete the request, correct the issue with DNS validation or Email validation, and try again. If validation succeeds, the certificate enters status ISSUED.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 isIMPORTED
. 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 Certificate Manager User Guide.- Parameters:
type
- The source of the certificate. For certificates provided by ACM, this value isAMAZON_ISSUED
. For certificates that you imported with ImportCertificate, this value isIMPORTED
. 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 Certificate Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 isIMPORTED
. 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 Certificate Manager User Guide.- Parameters:
type
- The source of the certificate. For certificates provided by ACM, this value isAMAZON_ISSUED
. For certificates that you imported with ImportCertificate, this value isIMPORTED
. 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 Certificate Manager User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyAlgorithm
The algorithm that was used to generate the public-private key pair.
- Parameters:
keyAlgorithm
- The algorithm that was used to generate the public-private key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyAlgorithm
The algorithm that was used to generate the public-private key pair.
- Parameters:
keyAlgorithm
- The algorithm that was used to generate the public-private key pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyUsagesWithStrings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyUsagesWithStrings
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendedKeyUsagesWithStrings
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendedKeyUsagesWithStrings
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inUse
Indicates whether the certificate is currently in use by any Amazon Web Services resources.
- Parameters:
inUse
- Indicates whether the certificate is currently in use by any Amazon Web Services resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exported
Indicates whether the certificate has been exported. This value exists only when the certificate type is
PRIVATE
.- Parameters:
exported
- Indicates whether the certificate has been exported. This value exists only when the certificate type isPRIVATE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renewalEligibility
Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.
- Parameters:
renewalEligibility
- Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
renewalEligibility
Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.
- Parameters:
renewalEligibility
- Specifies whether the certificate is eligible for renewal. At this time, only exported private certificates can be renewed with the RenewCertificate command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notBefore
The time before which the certificate is not valid.
- Parameters:
notBefore
- The time before which the certificate is not valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAfter
The time after which the certificate is not valid.
- Parameters:
notAfter
- The time after which the certificate is not valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time at which the certificate was requested.
- Parameters:
createdAt
- The time at which the certificate was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuedAt
The time at which the certificate was issued. This value exists only when the certificate type is
AMAZON_ISSUED
.- Parameters:
issuedAt
- The time at which the certificate was issued. This value exists only when the certificate type isAMAZON_ISSUED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedAt
The date and time when the certificate was imported. This value exists only when the certificate type is
IMPORTED
.- Parameters:
importedAt
- The date and time when the certificate was imported. This value exists only when the certificate type isIMPORTED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revokedAt
The time at which the certificate was revoked. This value exists only when the certificate status is
REVOKED
.- Parameters:
revokedAt
- The time at which the certificate was revoked. This value exists only when the certificate status isREVOKED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-