Interface DescribedCertificate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DescribedCertificate.Builder,
,DescribedCertificate> SdkBuilder<DescribedCertificate.Builder,
,DescribedCertificate> SdkPojo
- Enclosing class:
DescribedCertificate
-
Method Summary
Modifier and TypeMethodDescriptionactiveDate
(Instant activeDate) An optional date that specifies when the certificate becomes active.The unique Amazon Resource Name (ARN) for the certificate.certificate
(String certificate) The file name for the certificate.certificateChain
(String certificateChain) The list of certificates that make up the chain for the certificate.certificateId
(String certificateId) An array of identifiers for the imported certificates.description
(String description) The name or description that's used to identity the certificate.inactiveDate
(Instant inactiveDate) An optional date that specifies when the certificate becomes inactive.notAfterDate
(Instant notAfterDate) The final date that the certificate is valid.notBeforeDate
(Instant notBeforeDate) The earliest date that the certificate is valid.The serial number for the certificate.The certificate can be eitherACTIVE
,PENDING_ROTATION
, orINACTIVE
.status
(CertificateStatusType status) The certificate can be eitherACTIVE
,PENDING_ROTATION
, orINACTIVE
.tags
(Collection<Tag> tags) Key-value pairs that can be used to group and search for certificates.tags
(Consumer<Tag.Builder>... tags) Key-value pairs that can be used to group and search for certificates.Key-value pairs that can be used to group and search for certificates.If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY
.type
(CertificateType type) If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY
.Specifies whether this certificate is used for signing or encryption.usage
(CertificateUsageType usage) Specifies whether this certificate is used for signing or encryption.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
-
arn
The unique Amazon Resource Name (ARN) for the certificate.
- Parameters:
arn
- The unique Amazon Resource Name (ARN) for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateId
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
- Parameters:
certificateId
- An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usage
Specifies whether this certificate is used for signing or encryption.
- Parameters:
usage
- Specifies whether this certificate is used for signing or encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
usage
Specifies whether this certificate is used for signing or encryption.
- Parameters:
usage
- Specifies whether this certificate is used for signing or encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The certificate can be either
ACTIVE
,PENDING_ROTATION
, orINACTIVE
.PENDING_ROTATION
means that this certificate will replace the current certificate when it expires.- Parameters:
status
- The certificate can be eitherACTIVE
,PENDING_ROTATION
, orINACTIVE
.PENDING_ROTATION
means that this certificate will replace the current certificate when it expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The certificate can be either
ACTIVE
,PENDING_ROTATION
, orINACTIVE
.PENDING_ROTATION
means that this certificate will replace the current certificate when it expires.- Parameters:
status
- The certificate can be eitherACTIVE
,PENDING_ROTATION
, orINACTIVE
.PENDING_ROTATION
means that this certificate will replace the current certificate when it expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificate
The file name for the certificate.
- Parameters:
certificate
- The file name for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateChain
The list of certificates that make up the chain for the certificate.
- Parameters:
certificateChain
- The list of certificates that make up the chain for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeDate
An optional date that specifies when the certificate becomes active.
- Parameters:
activeDate
- An optional date that specifies when the certificate becomes active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inactiveDate
An optional date that specifies when the certificate becomes inactive.
- Parameters:
inactiveDate
- An optional date that specifies when the certificate becomes inactive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serial
The serial number for the certificate.
- Parameters:
serial
- The serial number for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notBeforeDate
The earliest date that the certificate is valid.
- Parameters:
notBeforeDate
- The earliest date that the certificate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAfterDate
The final date that the certificate is valid.
- Parameters:
notAfterDate
- The final date that the certificate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 isCERTIFICATE
.- Parameters:
type
- If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY
. If there is no private key, the type isCERTIFICATE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 isCERTIFICATE
.- Parameters:
type
- If a private key has been specified for the certificate, its type isCERTIFICATE_WITH_PRIVATE_KEY
. If there is no private key, the type isCERTIFICATE
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The name or description that's used to identity the certificate.
- Parameters:
description
- The name or description that's used to identity the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for certificates.
- Parameters:
tags
- Key-value pairs that can be used to group and search for certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for certificates.
- Parameters:
tags
- Key-value pairs that can be used to group and search for certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-