@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CertificateAuthority extends Object implements Serializable, Cloneable, StructuredPojo
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 action to create your private CA. You must then call the GetCertificateAuthorityCertificate action to retrieve a private CA certificate signing request (CSR). Sign the CSR with your ACM Private CA-hosted or on-premises root or subordinate CA certificate. Call the ImportCertificateAuthorityCertificate action to import the signed certificate into AWS Certificate Manager (ACM).
Constructor and Description |
---|
CertificateAuthority() |
Modifier and Type | Method and Description |
---|---|
CertificateAuthority |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Amazon Resource Name (ARN) for your private certificate authority (CA).
|
CertificateAuthorityConfiguration |
getCertificateAuthorityConfiguration()
Your private CA configuration.
|
Date |
getCreatedAt()
Date and time at which your private CA was created.
|
String |
getFailureReason()
Reason the request to create your private CA failed.
|
String |
getKeyStorageSecurityStandard()
Defines a cryptographic key management compliance standard used for handling CA keys.
|
Date |
getLastStateChangeAt()
Date and time at which your private CA was last updated.
|
Date |
getNotAfter()
Date and time after which your private CA certificate is not valid.
|
Date |
getNotBefore()
Date and time before which your private CA certificate is not valid.
|
String |
getOwnerAccount()
The AWS account ID that owns the certificate authority.
|
Date |
getRestorableUntil()
The period during which a deleted CA can be restored.
|
RevocationConfiguration |
getRevocationConfiguration()
Information about the certificate revocation list (CRL) created and maintained by your private CA.
|
String |
getSerial()
Serial number of your private CA.
|
String |
getStatus()
Status of your private CA.
|
String |
getType()
Type of your private CA.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Amazon Resource Name (ARN) for your private certificate authority (CA).
|
void |
setCertificateAuthorityConfiguration(CertificateAuthorityConfiguration certificateAuthorityConfiguration)
Your private CA configuration.
|
void |
setCreatedAt(Date createdAt)
Date and time at which your private CA was created.
|
void |
setFailureReason(String failureReason)
Reason the request to create your private CA failed.
|
void |
setKeyStorageSecurityStandard(String keyStorageSecurityStandard)
Defines a cryptographic key management compliance standard used for handling CA keys.
|
void |
setLastStateChangeAt(Date lastStateChangeAt)
Date and time at which your private CA was last updated.
|
void |
setNotAfter(Date notAfter)
Date and time after which your private CA certificate is not valid.
|
void |
setNotBefore(Date notBefore)
Date and time before which your private CA certificate is not valid.
|
void |
setOwnerAccount(String ownerAccount)
The AWS account ID that owns the certificate authority.
|
void |
setRestorableUntil(Date restorableUntil)
The period during which a deleted CA can be restored.
|
void |
setRevocationConfiguration(RevocationConfiguration revocationConfiguration)
Information about the certificate revocation list (CRL) created and maintained by your private CA.
|
void |
setSerial(String serial)
Serial number of your private CA.
|
void |
setStatus(String status)
Status of your private CA.
|
void |
setType(String type)
Type of your private CA.
|
String |
toString()
Returns a string representation of this object.
|
CertificateAuthority |
withArn(String arn)
Amazon Resource Name (ARN) for your private certificate authority (CA).
|
CertificateAuthority |
withCertificateAuthorityConfiguration(CertificateAuthorityConfiguration certificateAuthorityConfiguration)
Your private CA configuration.
|
CertificateAuthority |
withCreatedAt(Date createdAt)
Date and time at which your private CA was created.
|
CertificateAuthority |
withFailureReason(FailureReason failureReason)
Reason the request to create your private CA failed.
|
CertificateAuthority |
withFailureReason(String failureReason)
Reason the request to create your private CA failed.
|
CertificateAuthority |
withKeyStorageSecurityStandard(KeyStorageSecurityStandard keyStorageSecurityStandard)
Defines a cryptographic key management compliance standard used for handling CA keys.
|
CertificateAuthority |
withKeyStorageSecurityStandard(String keyStorageSecurityStandard)
Defines a cryptographic key management compliance standard used for handling CA keys.
|
CertificateAuthority |
withLastStateChangeAt(Date lastStateChangeAt)
Date and time at which your private CA was last updated.
|
CertificateAuthority |
withNotAfter(Date notAfter)
Date and time after which your private CA certificate is not valid.
|
CertificateAuthority |
withNotBefore(Date notBefore)
Date and time before which your private CA certificate is not valid.
|
CertificateAuthority |
withOwnerAccount(String ownerAccount)
The AWS account ID that owns the certificate authority.
|
CertificateAuthority |
withRestorableUntil(Date restorableUntil)
The period during which a deleted CA can be restored.
|
CertificateAuthority |
withRevocationConfiguration(RevocationConfiguration revocationConfiguration)
Information about the certificate revocation list (CRL) created and maintained by your private CA.
|
CertificateAuthority |
withSerial(String serial)
Serial number of your private CA.
|
CertificateAuthority |
withStatus(CertificateAuthorityStatus status)
Status of your private CA.
|
CertificateAuthority |
withStatus(String status)
Status of your private CA.
|
CertificateAuthority |
withType(CertificateAuthorityType type)
Type of your private CA.
|
CertificateAuthority |
withType(String type)
Type of your private CA.
|
public void setArn(String arn)
Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.
arn
- Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.public String getArn()
Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.
12345678-1234-1234-1234-123456789012
.public CertificateAuthority withArn(String arn)
Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.
arn
- Amazon Resource Name (ARN) for your private certificate authority (CA). The format is
12345678-1234-1234-1234-123456789012
.public void setOwnerAccount(String ownerAccount)
The AWS account ID that owns the certificate authority.
ownerAccount
- The AWS account ID that owns the certificate authority.public String getOwnerAccount()
The AWS account ID that owns the certificate authority.
public CertificateAuthority withOwnerAccount(String ownerAccount)
The AWS account ID that owns the certificate authority.
ownerAccount
- The AWS account ID that owns the certificate authority.public void setCreatedAt(Date createdAt)
Date and time at which your private CA was created.
createdAt
- Date and time at which your private CA was created.public Date getCreatedAt()
Date and time at which your private CA was created.
public CertificateAuthority withCreatedAt(Date createdAt)
Date and time at which your private CA was created.
createdAt
- Date and time at which your private CA was created.public void setLastStateChangeAt(Date lastStateChangeAt)
Date and time at which your private CA was last updated.
lastStateChangeAt
- Date and time at which your private CA was last updated.public Date getLastStateChangeAt()
Date and time at which your private CA was last updated.
public CertificateAuthority withLastStateChangeAt(Date lastStateChangeAt)
Date and time at which your private CA was last updated.
lastStateChangeAt
- Date and time at which your private CA was last updated.public void setType(String type)
Type of your private CA.
type
- Type of your private CA.CertificateAuthorityType
public String getType()
Type of your private CA.
CertificateAuthorityType
public CertificateAuthority withType(String type)
Type of your private CA.
type
- Type of your private CA.CertificateAuthorityType
public CertificateAuthority withType(CertificateAuthorityType type)
Type of your private CA.
type
- Type of your private CA.CertificateAuthorityType
public void setSerial(String serial)
Serial number of your private CA.
serial
- Serial number of your private CA.public String getSerial()
Serial number of your private CA.
public CertificateAuthority withSerial(String serial)
Serial number of your private CA.
serial
- Serial number of your private CA.public void setStatus(String status)
Status of your private CA.
status
- Status of your private CA.CertificateAuthorityStatus
public String getStatus()
Status of your private CA.
CertificateAuthorityStatus
public CertificateAuthority withStatus(String status)
Status of your private CA.
status
- Status of your private CA.CertificateAuthorityStatus
public CertificateAuthority withStatus(CertificateAuthorityStatus status)
Status of your private CA.
status
- Status of your private CA.CertificateAuthorityStatus
public void setNotBefore(Date notBefore)
Date and time before which your private CA certificate is not valid.
notBefore
- Date and time before which your private CA certificate is not valid.public Date getNotBefore()
Date and time before which your private CA certificate is not valid.
public CertificateAuthority withNotBefore(Date notBefore)
Date and time before which your private CA certificate is not valid.
notBefore
- Date and time before which your private CA certificate is not valid.public void setNotAfter(Date notAfter)
Date and time after which your private CA certificate is not valid.
notAfter
- Date and time after which your private CA certificate is not valid.public Date getNotAfter()
Date and time after which your private CA certificate is not valid.
public CertificateAuthority withNotAfter(Date notAfter)
Date and time after which your private CA certificate is not valid.
notAfter
- Date and time after which your private CA certificate is not valid.public void setFailureReason(String failureReason)
Reason the request to create your private CA failed.
failureReason
- Reason the request to create your private CA failed.FailureReason
public String getFailureReason()
Reason the request to create your private CA failed.
FailureReason
public CertificateAuthority withFailureReason(String failureReason)
Reason the request to create your private CA failed.
failureReason
- Reason the request to create your private CA failed.FailureReason
public CertificateAuthority withFailureReason(FailureReason failureReason)
Reason the request to create your private CA failed.
failureReason
- Reason the request to create your private CA failed.FailureReason
public void setCertificateAuthorityConfiguration(CertificateAuthorityConfiguration certificateAuthorityConfiguration)
Your private CA configuration.
certificateAuthorityConfiguration
- Your private CA configuration.public CertificateAuthorityConfiguration getCertificateAuthorityConfiguration()
Your private CA configuration.
public CertificateAuthority withCertificateAuthorityConfiguration(CertificateAuthorityConfiguration certificateAuthorityConfiguration)
Your private CA configuration.
certificateAuthorityConfiguration
- Your private CA configuration.public void setRevocationConfiguration(RevocationConfiguration revocationConfiguration)
Information about the certificate revocation list (CRL) created and maintained by your private CA.
revocationConfiguration
- Information about the certificate revocation list (CRL) created and maintained by your private CA.public RevocationConfiguration getRevocationConfiguration()
Information about the certificate revocation list (CRL) created and maintained by your private CA.
public CertificateAuthority withRevocationConfiguration(RevocationConfiguration revocationConfiguration)
Information about the certificate revocation list (CRL) created and maintained by your private CA.
revocationConfiguration
- Information about the certificate revocation list (CRL) created and maintained by your private CA.public void setRestorableUntil(Date restorableUntil)
The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.
restorableUntil
- The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.public Date getRestorableUntil()
The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.public CertificateAuthority withRestorableUntil(Date restorableUntil)
The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.
restorableUntil
- The period during which a deleted CA can be restored. For more information, see the
PermanentDeletionTimeInDays
parameter of the DeleteCertificateAuthorityRequest action.public void setKeyStorageSecurityStandard(String keyStorageSecurityStandard)
Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this
parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
keyStorageSecurityStandard
- Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify
this parameter and value when creating a CA in that Region. Specifying a different value (or no value)
results in an InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
KeyStorageSecurityStandard
public String getKeyStorageSecurityStandard()
Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this
parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify
this parameter and value when creating a CA in that Region. Specifying a different value (or no value)
results in an InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
KeyStorageSecurityStandard
public CertificateAuthority withKeyStorageSecurityStandard(String keyStorageSecurityStandard)
Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this
parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
keyStorageSecurityStandard
- Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify
this parameter and value when creating a CA in that Region. Specifying a different value (or no value)
results in an InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
KeyStorageSecurityStandard
public CertificateAuthority withKeyStorageSecurityStandard(KeyStorageSecurityStandard keyStorageSecurityStandard)
Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify this
parameter and value when creating a CA in that Region. Specifying a different value (or no value) results in an
InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
keyStorageSecurityStandard
- Defines a cryptographic key management compliance standard used for handling CA keys.
Default: FIPS_140_2_LEVEL_3_OR_HIGHER
Note: AWS Region ap-northeast-3 supports only FIPS_140_2_LEVEL_2_OR_HIGHER. You must explicitly specify
this parameter and value when creating a CA in that Region. Specifying a different value (or no value)
results in an InvalidArgsException
with the message
"A certificate authority cannot be created in this region with the specified security standard."
KeyStorageSecurityStandard
public String toString()
toString
in class Object
Object.toString()
public CertificateAuthority clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.