@Generated(value="software.amazon.awssdk:codegen") public final class Certificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Certificate.Builder,Certificate>
Information about the certificate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Certificate.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Certificate.Builder |
builder() |
String |
certificateId()
The identifier of the certificate.
|
ClientCertAuthSettings |
clientCertAuthSettings()
A
ClientCertAuthSettings object that contains client certificate authentication settings. |
String |
commonName()
The common name for the certificate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expiryDateTime()
The date and time when the certificate will expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
registeredDateTime()
The date and time that the certificate was registered.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Certificate.Builder> |
serializableBuilderClass() |
CertificateState |
state()
The state of the certificate.
|
String |
stateAsString()
The state of the certificate.
|
String |
stateReason()
Describes a state change for the certificate.
|
Certificate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CertificateType |
type()
The function that the registered certificate performs.
|
String |
typeAsString()
The function that the registered certificate performs.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String certificateId()
The identifier of the certificate.
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, state will return
CertificateState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CertificateStatepublic final String stateAsString()
The state of the certificate.
If the service returns an enum value that is not available in the current SDK version, state will return
CertificateState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CertificateStatepublic final String stateReason()
Describes a state change for the certificate.
public final String commonName()
The common name for the certificate.
public final Instant registeredDateTime()
The date and time that the certificate was registered.
public final Instant expiryDateTime()
The date and time when the certificate will expire.
public final CertificateType type()
The function that the registered certificate performs. Valid values include ClientLDAPS or
ClientCertAuth. The default value is ClientLDAPS.
If the service returns an enum value that is not available in the current SDK version, type will return
CertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ClientLDAPS or
ClientCertAuth. The default value is ClientLDAPS.CertificateTypepublic final String typeAsString()
The function that the registered certificate performs. Valid values include ClientLDAPS or
ClientCertAuth. The default value is ClientLDAPS.
If the service returns an enum value that is not available in the current SDK version, type will return
CertificateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
ClientLDAPS or
ClientCertAuth. The default value is ClientLDAPS.CertificateTypepublic final ClientCertAuthSettings clientCertAuthSettings()
A ClientCertAuthSettings object that contains client certificate authentication settings.
ClientCertAuthSettings object that contains client certificate authentication settings.public Certificate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Certificate.Builder,Certificate>public static Certificate.Builder builder()
public static Class<? extends Certificate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.