Package com.amazonaws.services.iot.model
Class CACertificateDescription
- java.lang.Object
-
- com.amazonaws.services.iot.model.CACertificateDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CACertificateDescription extends Object implements Serializable, Cloneable
Describes a CA certificate.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CACertificateDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CACertificateDescription
clone()
boolean
equals(Object obj)
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
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
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.
-
-
-
Method Detail
-
setCertificateArn
public void setCertificateArn(String certificateArn)
The CA certificate ARN.
- Parameters:
certificateArn
- The CA certificate ARN.
-
getCertificateArn
public String getCertificateArn()
The CA certificate ARN.
- Returns:
- The CA certificate ARN.
-
withCertificateArn
public CACertificateDescription withCertificateArn(String certificateArn)
The CA certificate ARN.
- Parameters:
certificateArn
- The CA certificate ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateId
public void setCertificateId(String certificateId)
The CA certificate ID.
- Parameters:
certificateId
- The CA certificate ID.
-
getCertificateId
public String getCertificateId()
The CA certificate ID.
- Returns:
- The CA certificate ID.
-
withCertificateId
public CACertificateDescription withCertificateId(String certificateId)
The CA certificate ID.
- Parameters:
certificateId
- The CA certificate ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of a CA certificate.
- Parameters:
status
- The status of a CA certificate.- See Also:
CACertificateStatus
-
getStatus
public String getStatus()
The status of a CA certificate.
- Returns:
- The status of a CA certificate.
- See Also:
CACertificateStatus
-
withStatus
public CACertificateDescription withStatus(String status)
The status of a CA certificate.
- Parameters:
status
- The status of a CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CACertificateStatus
-
setStatus
public void setStatus(CACertificateStatus status)
The status of a CA certificate.
- Parameters:
status
- The status of a CA certificate.- See Also:
CACertificateStatus
-
withStatus
public CACertificateDescription withStatus(CACertificateStatus status)
The status of a CA certificate.
- Parameters:
status
- The status of a CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CACertificateStatus
-
setCertificatePem
public void setCertificatePem(String certificatePem)
The CA certificate data, in PEM format.
- Parameters:
certificatePem
- The CA certificate data, in PEM format.
-
getCertificatePem
public String getCertificatePem()
The CA certificate data, in PEM format.
- Returns:
- The CA certificate data, in PEM format.
-
withCertificatePem
public CACertificateDescription withCertificatePem(String certificatePem)
The CA certificate data, in PEM format.
- Parameters:
certificatePem
- The CA certificate data, in PEM format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOwnedBy
public void setOwnedBy(String ownedBy)
The owner of the CA certificate.
- Parameters:
ownedBy
- The owner of the CA certificate.
-
getOwnedBy
public String getOwnedBy()
The owner of the CA certificate.
- Returns:
- The owner of the CA certificate.
-
withOwnedBy
public CACertificateDescription withOwnedBy(String ownedBy)
The owner of the CA certificate.
- Parameters:
ownedBy
- The owner of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
public void setCreationDate(Date creationDate)
The date the CA certificate was created.
- Parameters:
creationDate
- The date the CA certificate was created.
-
getCreationDate
public Date getCreationDate()
The date the CA certificate was created.
- Returns:
- The date the CA certificate was created.
-
withCreationDate
public CACertificateDescription withCreationDate(Date creationDate)
The date the CA certificate was created.
- Parameters:
creationDate
- The date the CA certificate was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CACertificateDescription clone()
-
-