@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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String certificateId()
The identifier of the certificate.
public String commonName()
The common name for 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 Instant expiryDateTime()
The date and time when the certificate will expire.
public CertificateInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CertificateInfo.Builder,CertificateInfo>public static CertificateInfo.Builder builder()
public static Class<? extends CertificateInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.