public class CACertificateDescription
extends java.lang.Object
implements java.io.Serializable
Describes a CA certificate.
Constructor and Description |
---|
CACertificateDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoRegistrationStatus()
Whether the CA certificate configured for auto registration of device
certificates.
|
java.lang.String |
getCertificateArn()
The CA certificate ARN.
|
java.lang.String |
getCertificateId()
The CA certificate ID.
|
java.lang.String |
getCertificatePem()
The CA certificate data, in PEM format.
|
java.util.Date |
getCreationDate()
The date the CA certificate was created.
|
java.lang.Integer |
getCustomerVersion()
The customer version of the CA certificate.
|
java.lang.String |
getGenerationId()
The generation ID of the CA certificate.
|
java.util.Date |
getLastModifiedDate()
The date the CA certificate was last modified.
|
java.lang.String |
getOwnedBy()
The owner of the CA certificate.
|
java.lang.String |
getStatus()
The status of a CA certificate.
|
CertificateValidity |
getValidity()
When the CA certificate is valid.
|
int |
hashCode() |
void |
setAutoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
void |
setAutoRegistrationStatus(java.lang.String autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
void |
setCertificateArn(java.lang.String certificateArn)
The CA certificate ARN.
|
void |
setCertificateId(java.lang.String certificateId)
The CA certificate ID.
|
void |
setCertificatePem(java.lang.String certificatePem)
The CA certificate data, in PEM format.
|
void |
setCreationDate(java.util.Date creationDate)
The date the CA certificate was created.
|
void |
setCustomerVersion(java.lang.Integer customerVersion)
The customer version of the CA certificate.
|
void |
setGenerationId(java.lang.String generationId)
The generation ID of the CA certificate.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date the CA certificate was last modified.
|
void |
setOwnedBy(java.lang.String ownedBy)
The owner of the CA certificate.
|
void |
setStatus(CACertificateStatus status)
The status of a CA certificate.
|
void |
setStatus(java.lang.String status)
The status of a CA certificate.
|
void |
setValidity(CertificateValidity validity)
When the CA certificate is valid.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CACertificateDescription |
withAutoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
CACertificateDescription |
withAutoRegistrationStatus(java.lang.String autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
CACertificateDescription |
withCertificateArn(java.lang.String certificateArn)
The CA certificate ARN.
|
CACertificateDescription |
withCertificateId(java.lang.String certificateId)
The CA certificate ID.
|
CACertificateDescription |
withCertificatePem(java.lang.String certificatePem)
The CA certificate data, in PEM format.
|
CACertificateDescription |
withCreationDate(java.util.Date creationDate)
The date the CA certificate was created.
|
CACertificateDescription |
withCustomerVersion(java.lang.Integer customerVersion)
The customer version of the CA certificate.
|
CACertificateDescription |
withGenerationId(java.lang.String generationId)
The generation ID of the CA certificate.
|
CACertificateDescription |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date the CA certificate was last modified.
|
CACertificateDescription |
withOwnedBy(java.lang.String ownedBy)
The owner of the CA certificate.
|
CACertificateDescription |
withStatus(CACertificateStatus status)
The status of a CA certificate.
|
CACertificateDescription |
withStatus(java.lang.String status)
The status of a CA certificate.
|
CACertificateDescription |
withValidity(CertificateValidity validity)
When the CA certificate is valid.
|
public java.lang.String getCertificateArn()
The CA certificate ARN.
The CA certificate ARN.
public void setCertificateArn(java.lang.String certificateArn)
The CA certificate ARN.
certificateArn
- The CA certificate ARN.
public CACertificateDescription withCertificateArn(java.lang.String certificateArn)
The CA certificate ARN.
Returns a reference to this object so that method calls can be chained together.
certificateArn
- The CA certificate ARN.
public java.lang.String getCertificateId()
The CA certificate ID.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The CA certificate ID.
public void setCertificateId(java.lang.String certificateId)
The CA certificate ID.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId
- The CA certificate ID.
public CACertificateDescription withCertificateId(java.lang.String certificateId)
The CA certificate ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId
- The CA certificate ID.
public java.lang.String getStatus()
The status of a CA certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE
The status of a CA certificate.
CACertificateStatus
public void setStatus(java.lang.String status)
The status of a CA certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of a CA certificate.
CACertificateStatus
public CACertificateDescription withStatus(java.lang.String status)
The status of a CA certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of a CA certificate.
CACertificateStatus
public void setStatus(CACertificateStatus status)
The status of a CA certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of a CA certificate.
CACertificateStatus
public CACertificateDescription withStatus(CACertificateStatus status)
The status of a CA certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status
- The status of a CA certificate.
CACertificateStatus
public java.lang.String getCertificatePem()
The CA certificate data, in PEM format.
Constraints:
Length: 1 - 65536
The CA certificate data, in PEM format.
public void setCertificatePem(java.lang.String certificatePem)
The CA certificate data, in PEM format.
Constraints:
Length: 1 - 65536
certificatePem
- The CA certificate data, in PEM format.
public CACertificateDescription withCertificatePem(java.lang.String certificatePem)
The CA certificate data, in PEM format.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 65536
certificatePem
- The CA certificate data, in PEM format.
public java.lang.String getOwnedBy()
The owner of the CA certificate.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
The owner of the CA certificate.
public void setOwnedBy(java.lang.String ownedBy)
The owner of the CA certificate.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
ownedBy
- The owner of the CA certificate.
public CACertificateDescription withOwnedBy(java.lang.String ownedBy)
The owner of the CA certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
ownedBy
- The owner of the CA certificate.
public java.util.Date getCreationDate()
The date the CA certificate was created.
The date the CA certificate was created.
public void setCreationDate(java.util.Date creationDate)
The date the CA certificate was created.
creationDate
- The date the CA certificate was created.
public CACertificateDescription withCreationDate(java.util.Date creationDate)
The date the CA certificate was created.
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date the CA certificate was created.
public java.lang.String getAutoRegistrationStatus()
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
Constraints:
Allowed Values: ENABLE, DISABLE
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
AutoRegistrationStatus
public void setAutoRegistrationStatus(java.lang.String autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
Constraints:
Allowed Values: ENABLE, DISABLE
autoRegistrationStatus
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
AutoRegistrationStatus
public CACertificateDescription withAutoRegistrationStatus(java.lang.String autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLE, DISABLE
autoRegistrationStatus
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
AutoRegistrationStatus
public void setAutoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
Constraints:
Allowed Values: ENABLE, DISABLE
autoRegistrationStatus
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
AutoRegistrationStatus
public CACertificateDescription withAutoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ENABLE, DISABLE
autoRegistrationStatus
- Whether the CA certificate configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE"
AutoRegistrationStatus
public java.util.Date getLastModifiedDate()
The date the CA certificate was last modified.
The date the CA certificate was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date the CA certificate was last modified.
lastModifiedDate
- The date the CA certificate was last modified.
public CACertificateDescription withLastModifiedDate(java.util.Date lastModifiedDate)
The date the CA certificate was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date the CA certificate was last modified.
public java.lang.Integer getCustomerVersion()
The customer version of the CA certificate.
Constraints:
Range: 1 -
The customer version of the CA certificate.
public void setCustomerVersion(java.lang.Integer customerVersion)
The customer version of the CA certificate.
Constraints:
Range: 1 -
customerVersion
- The customer version of the CA certificate.
public CACertificateDescription withCustomerVersion(java.lang.Integer customerVersion)
The customer version of the CA certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
customerVersion
- The customer version of the CA certificate.
public java.lang.String getGenerationId()
The generation ID of the CA certificate.
The generation ID of the CA certificate.
public void setGenerationId(java.lang.String generationId)
The generation ID of the CA certificate.
generationId
- The generation ID of the CA certificate.
public CACertificateDescription withGenerationId(java.lang.String generationId)
The generation ID of the CA certificate.
Returns a reference to this object so that method calls can be chained together.
generationId
- The generation ID of the CA certificate.
public CertificateValidity getValidity()
When the CA certificate is valid.
When the CA certificate is valid.
public void setValidity(CertificateValidity validity)
When the CA certificate is valid.
validity
- When the CA certificate is valid.
public CACertificateDescription withValidity(CertificateValidity validity)
When the CA certificate is valid.
Returns a reference to this object so that method calls can be chained together.
validity
- When the CA certificate is valid.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.