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 StringThe certificate ID of the CA certificate used to sign this certificate.final StringThe ARN of the certificate.final StringThe ID of the certificate.final CertificateModeThe mode of the certificate.final StringThe mode of the certificate.final StringThe certificate data, in PEM format.final InstantThe date and time the certificate was created.final IntegerThe customer version of the certificate.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe generation ID of the certificate.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date and time the certificate was last modified.final StringownedBy()The ID of the Amazon Web Services account that owns the certificate.final StringThe ID of the Amazon Web Services account of the previous owner of the certificate.static Class<? extends CertificateDescription.Builder> final CertificateStatusstatus()The status of the certificate.final StringThe status of the certificate.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final TransferDataThe transfer data.final CertificateValidityvalidity()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,
statuswill 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,
statuswill 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 inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode 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_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode 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,
certificateModewill returnCertificateMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcertificateModeAsString().- Returns:
- The mode of the certificate.
DEFAULT: A certificate inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode 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_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode 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 inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode 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_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode 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,
certificateModewill returnCertificateMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcertificateModeAsString().- Returns:
- The mode of the certificate.
DEFAULT: A certificate inDEFAULTmode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) inDEFAULTmode. Devices with certificates inDEFAULTmode 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_ONLYmode is registered without an issuer CA. Devices with certificates inSNI_ONLYmode 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<CertificateDescription.Builder,CertificateDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-