Class Certificate
- java.lang.Object
-
- software.amazon.awssdk.services.directory.model.Certificate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Certificate.Builder,Certificate>
@Generated("software.amazon.awssdk:codegen") public final class Certificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Certificate.Builder,Certificate>
Information about the certificate.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCertificate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Certificate.Builderbuilder()StringcertificateId()The identifier of the certificate.ClientCertAuthSettingsclientCertAuthSettings()AClientCertAuthSettingsobject that contains client certificate authentication settings.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()InstantregisteredDateTime()The date and time that the certificate was registered.List<SdkField<?>>sdkFields()static Class<? extends Certificate.Builder>serializableBuilderClass()CertificateStatestate()The state of the certificate.StringstateAsString()The state of the certificate.StringstateReason()Describes a state change for the certificate.Certificate.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.
-
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
-
stateReason
public final String stateReason()
Describes a state change for the certificate.
- Returns:
- Describes a state change for the certificate.
-
commonName
public final String commonName()
The common name for the certificate.
- Returns:
- The common name for the certificate.
-
registeredDateTime
public final Instant registeredDateTime()
The date and time that the certificate was registered.
- Returns:
- The date and time that the certificate was registered.
-
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
-
clientCertAuthSettings
public final ClientCertAuthSettings clientCertAuthSettings()
A
ClientCertAuthSettingsobject that contains client certificate authentication settings.- Returns:
- A
ClientCertAuthSettingsobject that contains client certificate authentication settings.
-
toBuilder
public Certificate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Certificate.Builder,Certificate>
-
builder
public static Certificate.Builder builder()
-
serializableBuilderClass
public static Class<? extends Certificate.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.
-
-