@Generated(value="software.amazon.awssdk:codegen") public final class AwsCertificateManagerCertificateDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsCertificateManagerCertificateDetails.Builder,AwsCertificateManagerCertificateDetails>
Provides details about an Certificate Manager certificate.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsCertificateManagerCertificateDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsCertificateManagerCertificateDetails.Builder |
builder() |
String |
certificateAuthorityArn()
The ARN of the private certificate authority (CA) that will be used to issue the certificate.
|
String |
createdAt()
Indicates when the certificate was requested.
|
String |
domainName()
The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
|
List<AwsCertificateManagerCertificateDomainValidationOption> |
domainValidationOptions()
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<AwsCertificateManagerCertificateExtendedKeyUsage> |
extendedKeyUsages()
Contains a list of Extended Key Usage X.509 v3 extension objects.
|
String |
failureReason()
For a failed certificate request, the reason for the failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDomainValidationOptions()
For responses, this returns true if the service returned a value for the DomainValidationOptions property.
|
boolean |
hasExtendedKeyUsages()
For responses, this returns true if the service returned a value for the ExtendedKeyUsages property.
|
int |
hashCode() |
boolean |
hasInUseBy()
For responses, this returns true if the service returned a value for the InUseBy property.
|
boolean |
hasKeyUsages()
For responses, this returns true if the service returned a value for the KeyUsages property.
|
boolean |
hasSubjectAlternativeNames()
For responses, this returns true if the service returned a value for the SubjectAlternativeNames property.
|
String |
importedAt()
Indicates when the certificate was imported.
|
List<String> |
inUseBy()
The list of ARNs for the Amazon Web Services resources that use the certificate.
|
String |
issuedAt()
Indicates when the certificate was issued.
|
String |
issuer()
The name of the certificate authority that issued and signed the certificate.
|
String |
keyAlgorithm()
The algorithm that was used to generate the public-private key pair.
|
List<AwsCertificateManagerCertificateKeyUsage> |
keyUsages()
A list of key usage X.509 v3 extension objects.
|
String |
notAfter()
The time after which the certificate becomes invalid.
|
String |
notBefore()
The time before which the certificate is not valid.
|
AwsCertificateManagerCertificateOptions |
options()
Provides a value that specifies whether to add the certificate to a transparency log.
|
String |
renewalEligibility()
Whether the certificate is eligible for renewal.
|
AwsCertificateManagerCertificateRenewalSummary |
renewalSummary()
Information about the status of the Certificate Manager managed renewal for the certificate.
|
List<SdkField<?>> |
sdkFields() |
String |
serial()
The serial number of the certificate.
|
static Class<? extends AwsCertificateManagerCertificateDetails.Builder> |
serializableBuilderClass() |
String |
signatureAlgorithm()
The algorithm that was used to sign the certificate.
|
String |
status()
The status of the certificate.
|
String |
subject()
The name of the entity that is associated with the public key contained in the certificate.
|
List<String> |
subjectAlternativeNames()
One or more domain names (subject alternative names) included in the certificate.
|
AwsCertificateManagerCertificateDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The source of the certificate.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String certificateAuthorityArn()
The ARN of the private certificate authority (CA) that will be used to issue the certificate.
public final String createdAt()
Indicates when the certificate was requested.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final String domainName()
The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
public final boolean hasDomainValidationOptions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<AwsCertificateManagerCertificateDomainValidationOption> domainValidationOptions()
Contains information about the initial validation of each domain name that occurs as a result of the
RequestCertificate request.
Only provided if the certificate type is AMAZON_ISSUED.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasDomainValidationOptions() method.
RequestCertificate request.
Only provided if the certificate type is AMAZON_ISSUED.
public final boolean hasExtendedKeyUsages()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AwsCertificateManagerCertificateExtendedKeyUsage> extendedKeyUsages()
Contains a list of Extended Key Usage X.509 v3 extension objects. Each object specifies a purpose for which the certificate public key can be used and consists of a name and an object identifier (OID).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExtendedKeyUsages() method.
public final String failureReason()
For a failed certificate request, the reason for the failure.
Valid values: NO_AVAILABLE_CONTACTS | ADDITIONAL_VERIFICATION_REQUIRED |
DOMAIN_NOT_ALLOWED | INVALID_PUBLIC_DOMAIN | DOMAIN_VALIDATION_DENIED |
CAA_ERROR | PCA_LIMIT_EXCEEDED | PCA_INVALID_ARN |
PCA_INVALID_STATE | PCA_REQUEST_FAILED | PCA_NAME_CONSTRAINTS_VALIDATION |
PCA_RESOURCE_NOT_FOUND | PCA_INVALID_ARGS | PCA_INVALID_DURATION |
PCA_ACCESS_DENIED | SLR_NOT_FOUND | OTHER
Valid values: NO_AVAILABLE_CONTACTS | ADDITIONAL_VERIFICATION_REQUIRED |
DOMAIN_NOT_ALLOWED | INVALID_PUBLIC_DOMAIN |
DOMAIN_VALIDATION_DENIED | CAA_ERROR | PCA_LIMIT_EXCEEDED |
PCA_INVALID_ARN | PCA_INVALID_STATE | PCA_REQUEST_FAILED |
PCA_NAME_CONSTRAINTS_VALIDATION | PCA_RESOURCE_NOT_FOUND |
PCA_INVALID_ARGS | PCA_INVALID_DURATION | PCA_ACCESS_DENIED |
SLR_NOT_FOUND | OTHER
public final String importedAt()
Indicates when the certificate was imported. Provided if the certificate type is IMPORTED.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
IMPORTED
.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final boolean hasInUseBy()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<String> inUseBy()
The list of ARNs for the Amazon Web Services resources that use the certificate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasInUseBy() method.
public final String issuedAt()
Indicates when the certificate was issued. Provided if the certificate type is AMAZON_ISSUED.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
AMAZON_ISSUED
.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final String issuer()
The name of the certificate authority that issued and signed the certificate.
public final String keyAlgorithm()
The algorithm that was used to generate the public-private key pair.
Valid values: RSA_2048 | RSA_1024 | RSA_4096 | EC_prime256v1
| EC_secp384r1 | EC_secp521r1
Valid values: RSA_2048 | RSA_1024 | RSA_4096 |
EC_prime256v1 | EC_secp384r1 | EC_secp521r1
public final boolean hasKeyUsages()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<AwsCertificateManagerCertificateKeyUsage> keyUsages()
A list of key usage X.509 v3 extension objects.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasKeyUsages() method.
public final String notAfter()
The time after which the certificate becomes invalid.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final String notBefore()
The time before which the certificate is not valid.
Uses the date-time format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be
separated by T. For example, 2020-03-22T13:22:13.933Z.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces, and date and time should be separated by T. For
example, 2020-03-22T13:22:13.933Z.
public final AwsCertificateManagerCertificateOptions options()
Provides a value that specifies whether to add the certificate to a transparency log.
public final String renewalEligibility()
Whether the certificate is eligible for renewal.
Valid values: ELIGIBLE | INELIGIBLE
Valid values: ELIGIBLE | INELIGIBLE
public final AwsCertificateManagerCertificateRenewalSummary renewalSummary()
Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when
the certificate type is AMAZON_ISSUED.
AMAZON_ISSUED.public final String serial()
The serial number of the certificate.
public final String signatureAlgorithm()
The algorithm that was used to sign the certificate.
public final String status()
The status of the certificate.
Valid values: PENDING_VALIDATION | ISSUED | INACTIVE |
EXPIRED | VALIDATION_TIMED_OUT | REVOKED | FAILED
Valid values: PENDING_VALIDATION | ISSUED | INACTIVE |
EXPIRED | VALIDATION_TIMED_OUT | REVOKED | FAILED
public final String subject()
The name of the entity that is associated with the public key contained in the certificate.
public final boolean hasSubjectAlternativeNames()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> subjectAlternativeNames()
One or more domain names (subject alternative names) included in the certificate. This list contains the domain names that are bound to the public key that is contained in the certificate.
The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubjectAlternativeNames() method.
The subject alternative names include the canonical domain name (CN) of the certificate and additional domain names that can be used to connect to the website.
public final String type()
The source of the certificate. For certificates that Certificate Manager provides, Type is
AMAZON_ISSUED. For certificates that are imported with ImportCertificate,
Type is IMPORTED.
Valid values: IMPORTED | AMAZON_ISSUED | PRIVATE
Type is
AMAZON_ISSUED. For certificates that are imported with ImportCertificate,
Type is IMPORTED.
Valid values: IMPORTED | AMAZON_ISSUED | PRIVATE
public AwsCertificateManagerCertificateDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsCertificateManagerCertificateDetails.Builder,AwsCertificateManagerCertificateDetails>public static AwsCertificateManagerCertificateDetails.Builder builder()
public static Class<? extends AwsCertificateManagerCertificateDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.