@Generated(value="software.amazon.awssdk:codegen") public final class CertificateDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateDescription.Builder,CertificateDescription>
Describes a certificate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CertificateDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CertificateDescription.Builder |
builder() |
String |
caCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
|
String |
certificateArn()
The ARN of the certificate.
|
String |
certificateId()
The ID of the certificate.
|
CertificateMode |
certificateMode()
The mode of the certificate.
|
String |
certificateModeAsString()
The mode of the certificate.
|
String |
certificatePem()
The certificate data, in PEM format.
|
Instant |
creationDate()
The date and time the certificate was created.
|
Integer |
customerVersion()
The customer version of the certificate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
generationId()
The generation ID of the certificate.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedDate()
The date and time the certificate was last modified.
|
String |
ownedBy()
The ID of the Amazon Web Services account that owns the certificate.
|
String |
previousOwnedBy()
The ID of the Amazon Web Services account of the previous owner of the certificate.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CertificateDescription.Builder> |
serializableBuilderClass() |
CertificateStatus |
status()
The status of the certificate.
|
String |
statusAsString()
The status of the certificate.
|
CertificateDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TransferData |
transferData()
The transfer data.
|
CertificateValidity |
validity()
When the certificate is valid.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String certificateArn()
The ARN of the certificate.
public final String certificateId()
The ID of the certificate.
public final String caCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
public final CertificateStatus status()
The status of the certificate.
If the service returns an enum value that is not available in the current SDK version, status will
return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CertificateStatuspublic final String statusAsString()
The status of the certificate.
If the service returns an enum value that is not available in the current SDK version, status will
return CertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CertificateStatuspublic final String certificatePem()
The certificate data, in PEM format.
public final String ownedBy()
The ID of the Amazon Web Services account that owns the certificate.
public final String previousOwnedBy()
The ID of the Amazon Web Services account of the previous owner of the certificate.
public final Instant creationDate()
The date and time the certificate was created.
public final Instant lastModifiedDate()
The date and time the certificate was last modified.
public final Integer customerVersion()
The customer version of the certificate.
public final TransferData transferData()
The transfer data.
public final String generationId()
The generation ID of the certificate.
public final CertificateValidity validity()
When the certificate is valid.
public final 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.
If the service returns an enum value that is not available in the current SDK version, certificateMode
will return CertificateMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from certificateModeAsString().
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.
CertificateModepublic final String certificateModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, certificateMode
will return CertificateMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from certificateModeAsString().
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.
CertificateModepublic CertificateDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CertificateDescription.Builder,CertificateDescription>public static CertificateDescription.Builder builder()
public static Class<? extends CertificateDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.