Class AwsCertificateManagerCertificateDetails
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AwsCertificateManagerCertificateDetails.Builder,
AwsCertificateManagerCertificateDetails>
Provides details about an Certificate Manager certificate.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final String
The ARN of the private certificate authority (CA) that will be used to issue the certificate.final String
Indicates when the certificate was requested.final String
The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.Contains information about the initial validation of each domain name that occurs as a result of theRequestCertificate
request.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.Contains a list of Extended Key Usage X.509 v3 extension objects.final String
For a failed certificate request, the reason for the failure.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the DomainValidationOptions property.final boolean
For responses, this returns true if the service returned a value for the ExtendedKeyUsages property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the InUseBy property.final boolean
For responses, this returns true if the service returned a value for the KeyUsages property.final boolean
For responses, this returns true if the service returned a value for the SubjectAlternativeNames property.final String
Indicates when the certificate was imported.inUseBy()
The list of ARNs for the Amazon Web Services resources that use the certificate.final String
issuedAt()
Indicates when the certificate was issued.final String
issuer()
The name of the certificate authority that issued and signed the certificate.final String
The algorithm that was used to generate the public-private key pair.A list of key usage X.509 v3 extension objects.final String
notAfter()
The time after which the certificate becomes invalid.final String
The time before which the certificate is not valid.options()
Provides a value that specifies whether to add the certificate to a transparency log.final String
Whether the certificate is eligible for renewal.Information about the status of the Certificate Manager managed renewal for the certificate.final String
serial()
The serial number of the certificate.static Class
<? extends AwsCertificateManagerCertificateDetails.Builder> final String
The algorithm that was used to sign the certificate.final String
status()
The status of the certificate.final String
subject()
The name of the entity that is associated with the public key contained in the certificate.One or more domain names (subject alternative names) included in the certificate.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
type()
The source of the certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
certificateAuthorityArn
The ARN of the private certificate authority (CA) that will be used to issue the certificate.
- Returns:
- The ARN of the private certificate authority (CA) that will be used to issue the certificate.
-
createdAt
Indicates when the certificate was requested.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Returns:
- Indicates when the certificate was requested.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
-
-
domainName
The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
- Returns:
- The fully qualified domain name (FQDN), such as www.example.com, that is secured by the certificate.
-
hasDomainValidationOptions
public final boolean hasDomainValidationOptions()For responses, this returns true if the service returned a value for the DomainValidationOptions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- 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
.
-
hasExtendedKeyUsages
public final boolean hasExtendedKeyUsages()For responses, this returns true if the service returned a value for the ExtendedKeyUsages property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- 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).
-
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
- Returns:
- 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
-
importedAt
Indicates when the certificate was imported. Provided if the certificate type is
IMPORTED
.This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Returns:
- Indicates when the certificate was imported. Provided if the certificate type is
IMPORTED
.This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
-
-
hasInUseBy
public final boolean hasInUseBy()For responses, this returns true if the service returned a value for the InUseBy property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- The list of ARNs for the Amazon Web Services resources that use the certificate.
-
issuedAt
Indicates when the certificate was issued. Provided if the certificate type is
AMAZON_ISSUED
.This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Returns:
- Indicates when the certificate was issued. Provided if the certificate type is
AMAZON_ISSUED
.This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
-
-
issuer
The name of the certificate authority that issued and signed the certificate.
- Returns:
- The name of the certificate authority that issued and signed the certificate.
-
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
- Returns:
- 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
-
hasKeyUsages
public final boolean hasKeyUsages()For responses, this returns true if the service returned a value for the KeyUsages property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- A list of key usage X.509 v3 extension objects.
-
notAfter
The time after which the certificate becomes invalid.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Returns:
- The time after which the certificate becomes invalid.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
-
-
notBefore
The time before which the certificate is not valid.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Returns:
- The time before which the certificate is not valid.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
-
-
options
Provides a value that specifies whether to add the certificate to a transparency log.
- Returns:
- Provides a value that specifies whether to add the certificate to a transparency log.
-
renewalEligibility
Whether the certificate is eligible for renewal.
Valid values:
ELIGIBLE
|INELIGIBLE
- Returns:
- Whether the certificate is eligible for renewal.
Valid values:
ELIGIBLE
|INELIGIBLE
-
renewalSummary
Information about the status of the Certificate Manager managed renewal for the certificate. Provided only when the certificate type is
AMAZON_ISSUED
.- Returns:
- Information about the status of the Certificate Manager managed renewal for the certificate. Provided
only when the certificate type is
AMAZON_ISSUED
.
-
serial
The serial number of the certificate.
- Returns:
- The serial number of the certificate.
-
signatureAlgorithm
The algorithm that was used to sign the certificate.
- Returns:
- The algorithm that was used to sign the certificate.
-
status
The status of the certificate.
Valid values:
PENDING_VALIDATION
|ISSUED
|INACTIVE
|EXPIRED
|VALIDATION_TIMED_OUT
|REVOKED
|FAILED
- Returns:
- The status of the certificate.
Valid values:
PENDING_VALIDATION
|ISSUED
|INACTIVE
|EXPIRED
|VALIDATION_TIMED_OUT
|REVOKED
|FAILED
-
subject
The name of the entity that is associated with the public key contained in the certificate.
- Returns:
- The name of the entity that is associated with the public key contained in the certificate.
-
hasSubjectAlternativeNames
public final boolean hasSubjectAlternativeNames()For responses, this returns true if the service returned a value for the SubjectAlternativeNames property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- 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.
-
type
The source of the certificate. For certificates that Certificate Manager provides,
Type
isAMAZON_ISSUED
. For certificates that are imported withImportCertificate
,Type
isIMPORTED
.Valid values:
IMPORTED
|AMAZON_ISSUED
|PRIVATE
- Returns:
- The source of the certificate. For certificates that Certificate Manager provides,
Type
isAMAZON_ISSUED
. For certificates that are imported withImportCertificate
,Type
isIMPORTED
.Valid values:
IMPORTED
|AMAZON_ISSUED
|PRIVATE
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AwsCertificateManagerCertificateDetails.Builder,
AwsCertificateManagerCertificateDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends AwsCertificateManagerCertificateDetails.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-