public static interface CertificateDescription.Builder extends SdkPojo, CopyableBuilder<CertificateDescription.Builder,CertificateDescription>
| Modifier and Type | Method and Description |
|---|---|
CertificateDescription.Builder |
caCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
|
CertificateDescription.Builder |
certificateArn(String certificateArn)
The ARN of the certificate.
|
CertificateDescription.Builder |
certificateId(String certificateId)
The ID of the certificate.
|
CertificateDescription.Builder |
certificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
CertificateDescription.Builder |
certificateMode(String certificateMode)
The mode of the certificate.
|
CertificateDescription.Builder |
certificatePem(String certificatePem)
The certificate data, in PEM format.
|
CertificateDescription.Builder |
creationDate(Instant creationDate)
The date and time the certificate was created.
|
CertificateDescription.Builder |
customerVersion(Integer customerVersion)
The customer version of the certificate.
|
CertificateDescription.Builder |
generationId(String generationId)
The generation ID of the certificate.
|
CertificateDescription.Builder |
lastModifiedDate(Instant lastModifiedDate)
The date and time the certificate was last modified.
|
CertificateDescription.Builder |
ownedBy(String ownedBy)
The ID of the Amazon Web Services account that owns the certificate.
|
CertificateDescription.Builder |
previousOwnedBy(String previousOwnedBy)
The ID of the Amazon Web Services account of the previous owner of the certificate.
|
CertificateDescription.Builder |
status(CertificateStatus status)
The status of the certificate.
|
CertificateDescription.Builder |
status(String status)
The status of the certificate.
|
default CertificateDescription.Builder |
transferData(Consumer<TransferData.Builder> transferData)
The transfer data.
|
CertificateDescription.Builder |
transferData(TransferData transferData)
The transfer data.
|
CertificateDescription.Builder |
validity(CertificateValidity validity)
When the certificate is valid.
|
default CertificateDescription.Builder |
validity(Consumer<CertificateValidity.Builder> validity)
When the certificate is valid.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCertificateDescription.Builder certificateArn(String certificateArn)
The ARN of the certificate.
certificateArn - The ARN of the certificate.CertificateDescription.Builder certificateId(String certificateId)
The ID of the certificate.
certificateId - The ID of the certificate.CertificateDescription.Builder caCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
caCertificateId - The certificate ID of the CA certificate used to sign this certificate.CertificateDescription.Builder status(String status)
The status of the certificate.
status - The status of the certificate.CertificateStatus,
CertificateStatusCertificateDescription.Builder status(CertificateStatus status)
The status of the certificate.
status - The status of the certificate.CertificateStatus,
CertificateStatusCertificateDescription.Builder certificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem - The certificate data, in PEM format.CertificateDescription.Builder ownedBy(String ownedBy)
The ID of the Amazon Web Services account that owns the certificate.
ownedBy - The ID of the Amazon Web Services account that owns the certificate.CertificateDescription.Builder previousOwnedBy(String previousOwnedBy)
The ID of the Amazon Web Services account of the previous owner of the certificate.
previousOwnedBy - The ID of the Amazon Web Services account of the previous owner of the certificate.CertificateDescription.Builder creationDate(Instant creationDate)
The date and time the certificate was created.
creationDate - The date and time the certificate was created.CertificateDescription.Builder lastModifiedDate(Instant lastModifiedDate)
The date and time the certificate was last modified.
lastModifiedDate - The date and time the certificate was last modified.CertificateDescription.Builder customerVersion(Integer customerVersion)
The customer version of the certificate.
customerVersion - The customer version of the certificate.CertificateDescription.Builder transferData(TransferData transferData)
The transfer data.
transferData - The transfer data.default CertificateDescription.Builder transferData(Consumer<TransferData.Builder> transferData)
The transfer data.
This is a convenience method that creates an instance of theTransferData.Builder avoiding the need
to create one manually via TransferData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to transferData(TransferData).
transferData - a consumer that will call methods on TransferData.BuildertransferData(TransferData)CertificateDescription.Builder generationId(String generationId)
The generation ID of the certificate.
generationId - The generation ID of the certificate.CertificateDescription.Builder validity(CertificateValidity validity)
When the certificate is valid.
validity - When the certificate is valid.default CertificateDescription.Builder validity(Consumer<CertificateValidity.Builder> 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 via CertificateValidity.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to validity(CertificateValidity).
validity - a consumer that will call methods on CertificateValidity.Buildervalidity(CertificateValidity)CertificateDescription.Builder certificateMode(String certificateMode)
The mode of the certificate.
DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web Services
IoT Core or registered with an issuer certificate authority (CA) in DEFAULT mode. Devices with
certificates in DEFAULT 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 in SNI_ONLY mode is registered without an issuer CA.
Devices with certificates in SNI_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.
certificateMode - The mode of the certificate.
DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with certificates in DEFAULT 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 in SNI_ONLY mode is registered without an issuer CA.
Devices with certificates in SNI_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.
CertificateMode,
CertificateModeCertificateDescription.Builder certificateMode(CertificateMode certificateMode)
The mode of the certificate.
DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web Services
IoT Core or registered with an issuer certificate authority (CA) in DEFAULT mode. Devices with
certificates in DEFAULT 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 in SNI_ONLY mode is registered without an issuer CA.
Devices with certificates in SNI_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.
certificateMode - The mode of the certificate.
DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web
Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT
mode. Devices with certificates in DEFAULT 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 in SNI_ONLY mode is registered without an issuer CA.
Devices with certificates in SNI_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.
CertificateMode,
CertificateModeCopyright © 2023. All rights reserved.