Class CertificateDescription
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CertificateDescription.Builder,
CertificateDescription>
Describes a certificate.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The certificate ID of the CA certificate used to sign this certificate.final String
The ARN of the certificate.final String
The ID of the certificate.final CertificateMode
The mode of the certificate.final String
The mode of the certificate.final String
The certificate data, in PEM format.final Instant
The date and time the certificate was created.final Integer
The customer version of the certificate.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The generation ID of the certificate.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The date and time the certificate was last modified.final String
ownedBy()
The ID of the Amazon Web Services account that owns the certificate.final String
The ID of the Amazon Web Services account of the previous owner of the certificate.static Class
<? extends CertificateDescription.Builder> final CertificateStatus
status()
The status of the certificate.final String
The status of the certificate.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final TransferData
The transfer data.final CertificateValidity
validity()
When the certificate is valid.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
certificateArn
The ARN of the certificate.
- Returns:
- The ARN of the certificate.
-
certificateId
-
caCertificateId
The certificate ID of the CA certificate used to sign this certificate.
- Returns:
- The certificate ID of the CA certificate used to sign this certificate.
-
status
The status of the certificate.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCertificateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the certificate.
- See Also:
-
statusAsString
The status of the certificate.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCertificateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the certificate.
- See Also:
-
certificatePem
The certificate data, in PEM format.
- Returns:
- The certificate data, in PEM format.
-
ownedBy
The ID of the Amazon Web Services account that owns the certificate.
- Returns:
- The ID of the Amazon Web Services account that owns the certificate.
-
previousOwnedBy
The ID of the Amazon Web Services account of the previous owner of the certificate.
- Returns:
- The ID of the Amazon Web Services account of the previous owner of the certificate.
-
creationDate
The date and time the certificate was created.
- Returns:
- The date and time the certificate was created.
-
lastModifiedDate
The date and time the certificate was last modified.
- Returns:
- The date and time the certificate was last modified.
-
customerVersion
The customer version of the certificate.
- Returns:
- The customer version of the certificate.
-
transferData
-
generationId
The generation ID of the certificate.
- Returns:
- The generation ID of the certificate.
-
validity
When the certificate is valid.
- Returns:
- When the certificate is valid.
-
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.
If the service returns an enum value that is not available in the current SDK version,
certificateMode
will returnCertificateMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcertificateModeAsString()
.- Returns:
- 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.
- See Also:
-
certificateModeAsString
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.
If the service returns an enum value that is not available in the current SDK version,
certificateMode
will returnCertificateMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcertificateModeAsString()
.- Returns:
- 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.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CertificateDescription.Builder,
CertificateDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-