Class CACertificateDescription
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CACertificateDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CACertificateDescription.Builder,CACertificateDescription>
@Generated("software.amazon.awssdk:codegen") public final class CACertificateDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CACertificateDescription.Builder,CACertificateDescription>
Describes a CA certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCACertificateDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoRegistrationStatusautoRegistrationStatus()Whether the CA certificate configured for auto registration of device certificates.StringautoRegistrationStatusAsString()Whether the CA certificate configured for auto registration of device certificates.static CACertificateDescription.Builderbuilder()StringcertificateArn()The CA certificate ARN.StringcertificateId()The CA certificate ID.CertificateModecertificateMode()The mode of the CA.StringcertificateModeAsString()The mode of the CA.StringcertificatePem()The CA certificate data, in PEM format.InstantcreationDate()The date the CA certificate was created.IntegercustomerVersion()The customer version of the CA certificate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringgenerationId()The generation ID of the CA certificate.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModifiedDate()The date the CA certificate was last modified.StringownedBy()The owner of the CA certificate.List<SdkField<?>>sdkFields()static Class<? extends CACertificateDescription.Builder>serializableBuilderClass()CACertificateStatusstatus()The status of a CA certificate.StringstatusAsString()The status of a CA certificate.CACertificateDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.CertificateValidityvalidity()When the CA certificate is valid.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
certificateArn
public final String certificateArn()
The CA certificate ARN.
- Returns:
- The CA certificate ARN.
-
certificateId
public final String certificateId()
The CA certificate ID.
- Returns:
- The CA certificate ID.
-
status
public final CACertificateStatus status()
The status of a CA certificate.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCACertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a CA certificate.
- See Also:
CACertificateStatus
-
statusAsString
public final String statusAsString()
The status of a CA certificate.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCACertificateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a CA certificate.
- See Also:
CACertificateStatus
-
certificatePem
public final String certificatePem()
The CA certificate data, in PEM format.
- Returns:
- The CA certificate data, in PEM format.
-
ownedBy
public final String ownedBy()
The owner of the CA certificate.
- Returns:
- The owner of the CA certificate.
-
creationDate
public final Instant creationDate()
The date the CA certificate was created.
- Returns:
- The date the CA certificate was created.
-
autoRegistrationStatus
public final AutoRegistrationStatus autoRegistrationStatus()
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
If the service returns an enum value that is not available in the current SDK version,
autoRegistrationStatuswill returnAutoRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoRegistrationStatusAsString().- Returns:
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
- See Also:
AutoRegistrationStatus
-
autoRegistrationStatusAsString
public final String autoRegistrationStatusAsString()
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
If the service returns an enum value that is not available in the current SDK version,
autoRegistrationStatuswill returnAutoRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromautoRegistrationStatusAsString().- Returns:
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
- See Also:
AutoRegistrationStatus
-
lastModifiedDate
public final Instant lastModifiedDate()
The date the CA certificate was last modified.
- Returns:
- The date the CA certificate was last modified.
-
customerVersion
public final Integer customerVersion()
The customer version of the CA certificate.
- Returns:
- The customer version of the CA certificate.
-
generationId
public final String generationId()
The generation ID of the CA certificate.
- Returns:
- The generation ID of the CA certificate.
-
validity
public final CertificateValidity validity()
When the CA certificate is valid.
- Returns:
- When the CA certificate is valid.
-
certificateMode
public final CertificateMode certificateMode()
The mode of the CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
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 CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
- See Also:
CertificateMode
-
certificateModeAsString
public final String certificateModeAsString()
The mode of the CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
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 CA.
All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode.
- See Also:
CertificateMode
-
toBuilder
public CACertificateDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CACertificateDescription.Builder,CACertificateDescription>
-
builder
public static CACertificateDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends CACertificateDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-