public class CACertificateDescription extends Object implements Serializable
Describes a CA certificate.
| Constructor and Description |
|---|
CACertificateDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAutoRegistrationStatus()
Whether the CA certificate configured for auto registration of device
certificates.
|
String |
getCertificateArn()
The CA certificate ARN.
|
String |
getCertificateId()
The CA certificate ID.
|
String |
getCertificatePem()
The CA certificate data, in PEM format.
|
Date |
getCreationDate()
The date the CA certificate was created.
|
String |
getOwnedBy()
The owner of the CA certificate.
|
String |
getStatus()
The status of a CA certificate.
|
int |
hashCode() |
void |
setAutoRegistrationStatus(AutoRegistrationStatus autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
void |
setAutoRegistrationStatus(String autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
void |
setCertificateArn(String certificateArn)
The CA certificate ARN.
|
void |
setCertificateId(String certificateId)
The CA certificate ID.
|
void |
setCertificatePem(String certificatePem)
The CA certificate data, in PEM format.
|
void |
setCreationDate(Date creationDate)
The date the CA certificate was created.
|
void |
setOwnedBy(String ownedBy)
The owner of the CA certificate.
|
void |
setStatus(CACertificateStatus status)
The status of a CA certificate.
|
void |
setStatus(String status)
The status of a CA certificate.
|
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(String autoRegistrationStatus)
Whether the CA certificate configured for auto registration of device
certificates.
|
CACertificateDescription |
withCertificateArn(String certificateArn)
The CA certificate ARN.
|
CACertificateDescription |
withCertificateId(String certificateId)
The CA certificate ID.
|
CACertificateDescription |
withCertificatePem(String certificatePem)
The CA certificate data, in PEM format.
|
CACertificateDescription |
withCreationDate(Date creationDate)
The date the CA certificate was created.
|
CACertificateDescription |
withOwnedBy(String ownedBy)
The owner of the CA certificate.
|
CACertificateDescription |
withStatus(CACertificateStatus status)
The status of a CA certificate.
|
CACertificateDescription |
withStatus(String status)
The status of a CA certificate.
|
public String getCertificateArn()
The CA certificate ARN.
The CA certificate ARN.
public void setCertificateArn(String certificateArn)
The CA certificate ARN.
certificateArn - The CA certificate ARN.
public CACertificateDescription withCertificateArn(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 String getCertificateId()
The CA certificate ID.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The CA certificate ID.
public void setCertificateId(String certificateId)
The CA certificate ID.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The CA certificate ID.
public CACertificateDescription withCertificateId(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 String getStatus()
The status of a CA certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE
The status of a CA certificate.
CACertificateStatuspublic void setStatus(String status)
The status of a CA certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status - The status of a CA certificate.
CACertificateStatuspublic CACertificateDescription withStatus(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.
CACertificateStatuspublic void setStatus(CACertificateStatus status)
The status of a CA certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status - The status of a CA certificate.
CACertificateStatuspublic 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.
CACertificateStatuspublic String getCertificatePem()
The CA certificate data, in PEM format.
Constraints:
Length: 1 - 65536
The CA certificate data, in PEM format.
public void setCertificatePem(String certificatePem)
The CA certificate data, in PEM format.
Constraints:
Length: 1 - 65536
certificatePem - The CA certificate data, in PEM format.
public CACertificateDescription withCertificatePem(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 String getOwnedBy()
The owner of the CA certificate.
Constraints:
Pattern: [0-9]{12}
The owner of the CA certificate.
public void setOwnedBy(String ownedBy)
The owner of the CA certificate.
Constraints:
Pattern: [0-9]{12}
ownedBy - The owner of the CA certificate.
public CACertificateDescription withOwnedBy(String ownedBy)
The owner of the CA certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9]{12}
ownedBy - The owner of the CA certificate.
public Date getCreationDate()
The date the CA certificate was created.
The date the CA certificate was created.
public void setCreationDate(Date creationDate)
The date the CA certificate was created.
creationDate - The date the CA certificate was created.
public CACertificateDescription withCreationDate(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 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"
AutoRegistrationStatuspublic void setAutoRegistrationStatus(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"
AutoRegistrationStatuspublic CACertificateDescription withAutoRegistrationStatus(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"
AutoRegistrationStatuspublic 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"
AutoRegistrationStatuspublic 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"
AutoRegistrationStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.