@Generated(value="software.amazon.awssdk:codegen") public final class ListedCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ListedCertificate.Builder,ListedCertificate>
Describes the properties of a certificate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListedCertificate.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
activeDate()
An optional date that specifies when the certificate becomes active.
|
String |
arn()
The Amazon Resource Name (ARN) of the specified certificate.
|
static ListedCertificate.Builder |
builder() |
String |
certificateId()
An array of identifiers for the imported certificates.
|
String |
description()
The name or short description that's used to identify the certificate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
inactiveDate()
An optional date that specifies when the certificate becomes inactive.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListedCertificate.Builder> |
serializableBuilderClass() |
CertificateStatusType |
status()
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
String |
statusAsString()
The certificate can be either
ACTIVE, PENDING_ROTATION, or INACTIVE. |
ListedCertificate.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CertificateType |
type()
The type for the certificate.
|
String |
typeAsString()
The type for the certificate.
|
CertificateUsageType |
usage()
Specifies whether this certificate is used for signing or encryption.
|
String |
usageAsString()
Specifies whether this certificate is used for signing or encryption.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the specified certificate.
public final String certificateId()
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
public final CertificateUsageType usage()
Specifies whether this certificate is used for signing or encryption.
If the service returns an enum value that is not available in the current SDK version, usage will return
CertificateUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
usageAsString().
CertificateUsageTypepublic final String usageAsString()
Specifies whether this certificate is used for signing or encryption.
If the service returns an enum value that is not available in the current SDK version, usage will return
CertificateUsageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
usageAsString().
CertificateUsageTypepublic final CertificateStatusType status()
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
If the service returns an enum value that is not available in the current SDK version, status will
return CertificateStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ACTIVE, PENDING_ROTATION, or
INACTIVE. PENDING_ROTATION means that this certificate will replace the current
certificate when it expires.CertificateStatusTypepublic final String statusAsString()
The certificate can be either ACTIVE, PENDING_ROTATION, or INACTIVE.
PENDING_ROTATION means that this certificate will replace the current certificate when it expires.
If the service returns an enum value that is not available in the current SDK version, status will
return CertificateStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ACTIVE, PENDING_ROTATION, or
INACTIVE. PENDING_ROTATION means that this certificate will replace the current
certificate when it expires.CertificateStatusTypepublic final Instant activeDate()
An optional date that specifies when the certificate becomes active.
public final Instant inactiveDate()
An optional date that specifies when the certificate becomes inactive.
public final CertificateType type()
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
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().
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateTypepublic final String typeAsString()
The type for the certificate. If a private key has been specified for the certificate, its type is
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is CERTIFICATE.
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().
CERTIFICATE_WITH_PRIVATE_KEY. If there is no private key, the type is
CERTIFICATE.CertificateTypepublic final String description()
The name or short description that's used to identify the certificate.
public ListedCertificate.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListedCertificate.Builder,ListedCertificate>public static ListedCertificate.Builder builder()
public static Class<? extends ListedCertificate.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.