@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 String certificateId()
The identifier of the certificate.
public 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 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 String stateReason()
Describes a state change for the certificate.
public String commonName()
The common name for the certificate.
public Instant registeredDateTime()
The date and time that the certificate was registered.
public Instant expiryDateTime()
The date and time when the certificate will expire.
public 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 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 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.