Class CACertificateDescription
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CACertificateDescription.Builder,
CACertificateDescription>
Describes a CA certificate.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AutoRegistrationStatus
Whether the CA certificate configured for auto registration of device certificates.final String
Whether the CA certificate configured for auto registration of device certificates.builder()
final String
The CA certificate ARN.final String
The CA certificate ID.final CertificateMode
The mode of the CA.final String
The mode of the CA.final String
The CA certificate data, in PEM format.final Instant
The date the CA certificate was created.final Integer
The customer version of the CA 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 CA certificate.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The date the CA certificate was last modified.final String
ownedBy()
The owner of the CA certificate.static Class
<? extends CACertificateDescription.Builder> final CACertificateStatus
status()
The status of a CA certificate.final String
The status of a CA 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 CertificateValidity
validity()
When the CA certificate is valid.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
certificateArn
The CA certificate ARN.
- Returns:
- The CA certificate ARN.
-
certificateId
The CA certificate ID.
- Returns:
- The CA certificate ID.
-
status
The status of a CA certificate.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCACertificateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of a CA certificate.
- See Also:
-
statusAsString
The status of a CA certificate.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCACertificateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of a CA certificate.
- See Also:
-
certificatePem
The CA certificate data, in PEM format.
- Returns:
- The CA certificate data, in PEM format.
-
ownedBy
The owner of the CA certificate.
- Returns:
- The owner of the CA certificate.
-
creationDate
The date the CA certificate was created.
- Returns:
- The date the CA certificate was created.
-
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,
autoRegistrationStatus
will 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:
-
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,
autoRegistrationStatus
will 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:
-
lastModifiedDate
The date the CA certificate was last modified.
- Returns:
- The date the CA certificate was last modified.
-
customerVersion
The customer version of the CA certificate.
- Returns:
- The customer version of the CA certificate.
-
generationId
The generation ID of the CA certificate.
- Returns:
- The generation ID of the CA certificate.
-
validity
When the CA certificate is valid.
- Returns:
- When the CA certificate is valid.
-
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,
certificateMode
will 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:
-
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,
certificateMode
will 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:
-
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<CACertificateDescription.Builder,
CACertificateDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int 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
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. -
getValueForField
-
sdkFields
-