Class CACertificate
- java.lang.Object
-
- software.amazon.awssdk.services.iot.model.CACertificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CACertificate.Builder,CACertificate>
@Generated("software.amazon.awssdk:codegen") public final class CACertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CACertificate.Builder,CACertificate>
A CA certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCACertificate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CACertificate.Builderbuilder()StringcertificateArn()The ARN of the CA certificate.StringcertificateId()The ID of the CA certificate.InstantcreationDate()The date the CA certificate was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CACertificate.Builder>serializableBuilderClass()CACertificateStatusstatus()The status of the CA certificate.StringstatusAsString()The status of the CA certificate.CACertificate.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 ARN of the CA certificate.
- Returns:
- The ARN of the CA certificate.
-
certificateId
public final String certificateId()
The ID of the CA certificate.
- Returns:
- The ID of the CA certificate.
-
status
public final CACertificateStatus status()
The status of the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
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 the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
- See Also:
CACertificateStatus
-
statusAsString
public final String statusAsString()
The status of the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
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 the CA certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
- See Also:
CACertificateStatus
-
creationDate
public final Instant creationDate()
The date the CA certificate was created.
- Returns:
- The date the CA certificate was created.
-
toBuilder
public CACertificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CACertificate.Builder,CACertificate>
-
builder
public static CACertificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends CACertificate.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.
-
-