@Generated(value="software.amazon.awssdk:codegen") public final class CertificateInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateInfo.Builder,CertificateInfo>
Contains general information about a certificate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CertificateInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CertificateInfo.Builder |
builder() |
String |
certificateId()
The identifier of the certificate.
|
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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CertificateInfo.Builder> |
serializableBuilderClass() |
CertificateState |
state()
The state of the certificate.
|
String |
stateAsString()
The state of the certificate.
|
CertificateInfo.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 String commonName()
The common name for 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 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 CertificateInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CertificateInfo.Builder,CertificateInfo>public static CertificateInfo.Builder builder()
public static Class<? extends CertificateInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.