Interface CACertificateDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CACertificateDescription.Builder,
,CACertificateDescription> SdkBuilder<CACertificateDescription.Builder,
,CACertificateDescription> SdkPojo
- Enclosing class:
CACertificateDescription
-
Method Summary
Modifier and TypeMethodDescriptionautoRegistrationStatus
(String autoRegistrationStatus) Whether the CA certificate configured for auto registration of device certificates.autoRegistrationStatus
(AutoRegistrationStatus autoRegistrationStatus) Whether the CA certificate configured for auto registration of device certificates.certificateArn
(String certificateArn) The CA certificate ARN.certificateId
(String certificateId) The CA certificate ID.certificateMode
(String certificateMode) The mode of the CA.certificateMode
(CertificateMode certificateMode) The mode of the CA.certificatePem
(String certificatePem) The CA certificate data, in PEM format.creationDate
(Instant creationDate) The date the CA certificate was created.customerVersion
(Integer customerVersion) The customer version of the CA certificate.generationId
(String generationId) The generation ID of the CA certificate.lastModifiedDate
(Instant lastModifiedDate) The date the CA certificate was last modified.The owner of the CA certificate.The status of a CA certificate.status
(CACertificateStatus status) The status of a CA certificate.default CACertificateDescription.Builder
validity
(Consumer<CertificateValidity.Builder> validity) When the CA certificate is valid.validity
(CertificateValidity validity) When the CA certificate is valid.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
The CA certificate ARN.
- Parameters:
certificateArn
- The CA certificate ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateId
The CA certificate ID.
- Parameters:
certificateId
- The CA certificate ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of a CA certificate.
- Parameters:
status
- The status of a CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of a CA certificate.
- Parameters:
status
- The status of a CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificatePem
The CA certificate data, in PEM format.
- Parameters:
certificatePem
- The CA certificate data, in PEM format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownedBy
The owner of the CA certificate.
- Parameters:
ownedBy
- The owner of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date the CA certificate was created.
- Parameters:
creationDate
- The date the CA certificate was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoRegistrationStatus
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
- Parameters:
autoRegistrationStatus
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
autoRegistrationStatus
CACertificateDescription.Builder autoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus) Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
- Parameters:
autoRegistrationStatus
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedDate
The date the CA certificate was last modified.
- Parameters:
lastModifiedDate
- The date the CA certificate was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerVersion
The customer version of the CA certificate.
- Parameters:
customerVersion
- The customer version of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationId
The generation ID of the CA certificate.
- Parameters:
generationId
- The generation ID of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
When the CA certificate is valid.
- Parameters:
validity
- When the CA certificate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
When the CA certificate is valid.
This is a convenience method that creates an instance of theCertificateValidity.Builder
avoiding the need to create one manually viaCertificateValidity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidity(CertificateValidity)
.- Parameters:
validity
- a consumer that will call methods onCertificateValidity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateMode
The mode of the CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
- Parameters:
certificateMode
- The mode of the CA.All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateMode
The mode of the CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
- Parameters:
certificateMode
- The mode of the CA.All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-