Interface CertificateDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CertificateDescription.Builder,
,CertificateDescription> SdkBuilder<CertificateDescription.Builder,
,CertificateDescription> SdkPojo
- Enclosing class:
CertificateDescription
-
Method Summary
Modifier and TypeMethodDescriptioncaCertificateId
(String caCertificateId) The certificate ID of the CA certificate used to sign this certificate.certificateArn
(String certificateArn) The ARN of the certificate.certificateId
(String certificateId) The ID of the certificate.certificateMode
(String certificateMode) The mode of the certificate.certificateMode
(CertificateMode certificateMode) The mode of the certificate.certificatePem
(String certificatePem) The certificate data, in PEM format.creationDate
(Instant creationDate) The date and time the certificate was created.customerVersion
(Integer customerVersion) The customer version of the certificate.generationId
(String generationId) The generation ID of the certificate.lastModifiedDate
(Instant lastModifiedDate) The date and time the certificate was last modified.The ID of the Amazon Web Services account that owns the certificate.previousOwnedBy
(String previousOwnedBy) The ID of the Amazon Web Services account of the previous owner of the certificate.The status of the certificate.status
(CertificateStatus status) The status of the certificate.default CertificateDescription.Builder
transferData
(Consumer<TransferData.Builder> transferData) The transfer data.transferData
(TransferData transferData) The transfer data.default CertificateDescription.Builder
validity
(Consumer<CertificateValidity.Builder> validity) When the certificate is valid.validity
(CertificateValidity validity) When the 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, sdkFieldNameToField, sdkFields
-
Method Details
-
certificateArn
The ARN of the certificate.
- Parameters:
certificateArn
- The ARN of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateId
The ID of the certificate.
- Parameters:
certificateId
- The ID of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
caCertificateId
The certificate ID of the CA certificate used to sign this certificate.
- Parameters:
caCertificateId
- The certificate ID of the CA certificate used to sign this certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the certificate.
- Parameters:
status
- The status of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the certificate.
- Parameters:
status
- The status of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificatePem
The certificate data, in PEM format.
- Parameters:
certificatePem
- The certificate data, in PEM format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownedBy
The ID of the Amazon Web Services account that owns the certificate.
- Parameters:
ownedBy
- The ID of the Amazon Web Services account that owns the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previousOwnedBy
The ID of the Amazon Web Services account of the previous owner of the certificate.
- Parameters:
previousOwnedBy
- The ID of the Amazon Web Services account of the previous owner of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date and time the certificate was created.
- Parameters:
creationDate
- The date and time the certificate was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date and time the certificate was last modified.
- Parameters:
lastModifiedDate
- The date and time the 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 certificate.
- Parameters:
customerVersion
- The customer version of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transferData
The transfer data.
- Parameters:
transferData
- The transfer data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transferData
The transfer data.
This is a convenience method that creates an instance of theTransferData.Builder
avoiding the need to create one manually viaTransferData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransferData(TransferData)
.- Parameters:
transferData
- a consumer that will call methods onTransferData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
generationId
The generation ID of the certificate.
- Parameters:
generationId
- The generation ID of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
When the certificate is valid.
- Parameters:
validity
- When the certificate is valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validity
When the 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 certificate.
DEFAULT
: A certificate inDEFAULT
mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULT
mode. Devices with certificates inDEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY
: A certificate inSNI_ONLY
mode is registered without an issuer CA. Devices with certificates inSNI_ONLY
mode must send the SNI extension when connecting to Amazon Web Services IoT Core.For more information about the value for SNI extension, see Transport security in IoT.
- Parameters:
certificateMode
- The mode of the certificate.DEFAULT
: A certificate inDEFAULT
mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULT
mode. Devices with certificates inDEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY
: A certificate inSNI_ONLY
mode is registered without an issuer CA. Devices with certificates inSNI_ONLY
mode must send the SNI extension when connecting to Amazon Web Services IoT Core.For more information about the value for SNI extension, see Transport security in IoT.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
certificateMode
The mode of the certificate.
DEFAULT
: A certificate inDEFAULT
mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULT
mode. Devices with certificates inDEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY
: A certificate inSNI_ONLY
mode is registered without an issuer CA. Devices with certificates inSNI_ONLY
mode must send the SNI extension when connecting to Amazon Web Services IoT Core.For more information about the value for SNI extension, see Transport security in IoT.
- Parameters:
certificateMode
- The mode of the certificate.DEFAULT
: A certificate inDEFAULT
mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULT
mode. Devices with certificates inDEFAULT
mode aren't required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.SNI_ONLY
: A certificate inSNI_ONLY
mode is registered without an issuer CA. Devices with certificates inSNI_ONLY
mode must send the SNI extension when connecting to Amazon Web Services IoT Core.For more information about the value for SNI extension, see Transport security in IoT.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-