Package com.amazonaws.services.iot.model
Class CACertificate
- java.lang.Object
-
- com.amazonaws.services.iot.model.CACertificate
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CACertificate extends Object implements Serializable, Cloneable
A CA certificate.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CACertificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CACertificateclone()booleanequals(Object obj)StringgetCertificateArn()The ARN of the CA certificate.StringgetCertificateId()The ID of the CA certificate.DategetCreationDate()The date the CA certificate was created.StringgetStatus()The status of the CA certificate.inthashCode()voidsetCertificateArn(String certificateArn)The ARN of the CA certificate.voidsetCertificateId(String certificateId)The ID of the CA certificate.voidsetCreationDate(Date creationDate)The date the CA certificate was created.voidsetStatus(CACertificateStatus status)The status of the CA certificate.voidsetStatus(String status)The status of the CA certificate.StringtoString()Returns a string representation of this object; useful for testing and debugging.CACertificatewithCertificateArn(String certificateArn)The ARN of the CA certificate.CACertificatewithCertificateId(String certificateId)The ID of the CA certificate.CACertificatewithCreationDate(Date creationDate)The date the CA certificate was created.CACertificatewithStatus(CACertificateStatus status)The status of the CA certificate.CACertificatewithStatus(String status)The status of the CA certificate.
-
-
-
Method Detail
-
setCertificateArn
public void setCertificateArn(String certificateArn)
The ARN of the CA certificate.
- Parameters:
certificateArn- The ARN of the CA certificate.
-
getCertificateArn
public String getCertificateArn()
The ARN of the CA certificate.
- Returns:
- The ARN of the CA certificate.
-
withCertificateArn
public CACertificate withCertificateArn(String certificateArn)
The ARN of the CA certificate.
- Parameters:
certificateArn- The ARN of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCertificateId
public void setCertificateId(String certificateId)
The ID of the CA certificate.
- Parameters:
certificateId- The ID of the CA certificate.
-
getCertificateId
public String getCertificateId()
The ID of the CA certificate.
- Returns:
- The ID of the CA certificate.
-
withCertificateId
public CACertificate withCertificateId(String certificateId)
The ID of the CA certificate.
- Parameters:
certificateId- The ID of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of the CA certificate.
- Parameters:
status- The status of the CA certificate.- See Also:
CACertificateStatus
-
getStatus
public String getStatus()
The status of the CA certificate.
- Returns:
- The status of the CA certificate.
- See Also:
CACertificateStatus
-
withStatus
public CACertificate withStatus(String status)
The status of the CA certificate.
- Parameters:
status- The status of the 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 the CA certificate.
- Parameters:
status- The status of the CA certificate.- See Also:
CACertificateStatus
-
withStatus
public CACertificate withStatus(CACertificateStatus status)
The status of the CA certificate.
- Parameters:
status- The status of the CA certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CACertificateStatus
-
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 CACertificate 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CACertificate clone()
-
-