@Generated(value="software.amazon.awssdk:codegen") public final class CertificateAuthority extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CertificateAuthority.Builder,CertificateAuthority>
Contains information about your private certificate authority (CA). Your private CA can issue and revoke X.509 digital certificates. Digital certificates verify that the entity named in the certificate Subject field owns or controls the public key contained in the Subject Public Key Info field. Call the CreateCertificateAuthority operation to create your private CA. You must then call the GetCertificateAuthorityCertificate operation to retrieve a private CA certificate signing request (CSR). Take the CSR to your on-premises CA and sign it with the root CA certificate or a subordinate certificate. Call the ImportCertificateAuthorityCertificate operation to import the signed certificate into AWS Certificate Manager (ACM).
Modifier and Type | Class and Description |
---|---|
static interface |
CertificateAuthority.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
Amazon Resource Name (ARN) for your private certificate authority (CA).
|
static CertificateAuthority.Builder |
builder() |
CertificateAuthorityConfiguration |
certificateAuthorityConfiguration()
Your private CA configuration.
|
Instant |
createdAt()
Date and time at which your private CA was created.
|
boolean |
equals(Object obj) |
FailureReason |
failureReason()
Reason the request to create your private CA failed.
|
String |
failureReasonAsString()
Reason the request to create your private CA failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastStateChangeAt()
Date and time at which your private CA was last updated.
|
Instant |
notAfter()
Date and time after which your private CA certificate is not valid.
|
Instant |
notBefore()
Date and time before which your private CA certificate is not valid.
|
Instant |
restorableUntil()
The period during which a deleted CA can be restored.
|
RevocationConfiguration |
revocationConfiguration()
Information about the certificate revocation list (CRL) created and maintained by your private CA.
|
List<SdkField<?>> |
sdkFields() |
String |
serial()
Serial number of your private CA.
|
static Class<? extends CertificateAuthority.Builder> |
serializableBuilderClass() |
CertificateAuthorityStatus |
status()
Status of your private CA.
|
String |
statusAsString()
Status of your private CA.
|
CertificateAuthority.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
CertificateAuthorityType |
type()
Type of your private CA.
|
String |
typeAsString()
Type of your private CA.
|
copy
public String arn()
Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.
12345678-1234-1234-1234-123456789012
.public Instant createdAt()
Date and time at which your private CA was created.
public Instant lastStateChangeAt()
Date and time at which your private CA was last updated.
public CertificateAuthorityType type()
Type of your private CA.
If the service returns an enum value that is not available in the current SDK version, type
will return
CertificateAuthorityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
CertificateAuthorityType
public String typeAsString()
Type of your private CA.
If the service returns an enum value that is not available in the current SDK version, type
will return
CertificateAuthorityType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
CertificateAuthorityType
public String serial()
Serial number of your private CA.
public CertificateAuthorityStatus status()
Status of your private CA.
If the service returns an enum value that is not available in the current SDK version, status
will
return CertificateAuthorityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
CertificateAuthorityStatus
public String statusAsString()
Status of your private CA.
If the service returns an enum value that is not available in the current SDK version, status
will
return CertificateAuthorityStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
CertificateAuthorityStatus
public Instant notBefore()
Date and time before which your private CA certificate is not valid.
public Instant notAfter()
Date and time after which your private CA certificate is not valid.
public FailureReason failureReason()
Reason the request to create your private CA failed.
If the service returns an enum value that is not available in the current SDK version, failureReason
will return FailureReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
failureReasonAsString()
.
FailureReason
public String failureReasonAsString()
Reason the request to create your private CA failed.
If the service returns an enum value that is not available in the current SDK version, failureReason
will return FailureReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
failureReasonAsString()
.
FailureReason
public CertificateAuthorityConfiguration certificateAuthorityConfiguration()
Your private CA configuration.
public RevocationConfiguration revocationConfiguration()
Information about the certificate revocation list (CRL) created and maintained by your private CA.
public Instant restorableUntil()
The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest operation.
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest
operation.public CertificateAuthority.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CertificateAuthority.Builder,CertificateAuthority>
public static CertificateAuthority.Builder builder()
public static Class<? extends CertificateAuthority.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.