Class CertificateInfo
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.CertificateInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CertificateInfo.Builder,CertificateInfo>
@Generated("software.amazon.awssdk:codegen") public final class CertificateInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateInfo.Builder,CertificateInfo>
Contains general information about a certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificateInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateInfo.Builderbuilder()StringcertificateId()The identifier of the certificate.StringcommonName()The common name for the certificate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpiryDateTime()The date and time when the certificate will expire.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CertificateInfo.Builder>serializableBuilderClass()CertificateStatestate()The state of the certificate.StringstateAsString()The state of the certificate.CertificateInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.CertificateTypetype()The function that the registered certificate performs.StringtypeAsString()The function that the registered certificate performs.-
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
-
certificateId
public final String certificateId()
The identifier of the certificate.
- Returns:
- The identifier of the certificate.
-
commonName
public final String commonName()
The common name for the certificate.
- Returns:
- The common name for the certificate.
-
state
public final CertificateState state()
The state of the certificate.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCertificateState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the certificate.
- See Also:
CertificateState
-
stateAsString
public final String stateAsString()
The state of the certificate.
If the service returns an enum value that is not available in the current SDK version,
statewill returnCertificateState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the certificate.
- See Also:
CertificateState
-
expiryDateTime
public final Instant expiryDateTime()
The date and time when the certificate will expire.
- Returns:
- The date and time when the certificate will expire.
-
type
public final CertificateType type()
The function that the registered certificate performs. Valid values include
ClientLDAPSorClientCertAuth. The default value isClientLDAPS.If the service returns an enum value that is not available in the current SDK version,
typewill returnCertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The function that the registered certificate performs. Valid values include
ClientLDAPSorClientCertAuth. The default value isClientLDAPS. - See Also:
CertificateType
-
typeAsString
public final String typeAsString()
The function that the registered certificate performs. Valid values include
ClientLDAPSorClientCertAuth. The default value isClientLDAPS.If the service returns an enum value that is not available in the current SDK version,
typewill returnCertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The function that the registered certificate performs. Valid values include
ClientLDAPSorClientCertAuth. The default value isClientLDAPS. - See Also:
CertificateType
-
toBuilder
public CertificateInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CertificateInfo.Builder,CertificateInfo>
-
builder
public static CertificateInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends CertificateInfo.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.
-
-