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 CACertificate
clone()
boolean
equals(Object obj)
String
getCertificateArn()
The ARN of the CA certificate.String
getCertificateId()
The ID of the CA certificate.Date
getCreationDate()
The date the CA certificate was created.String
getStatus()
The status of the CA certificate.int
hashCode()
void
setCertificateArn(String certificateArn)
The ARN of the CA certificate.void
setCertificateId(String certificateId)
The ID of the CA certificate.void
setCreationDate(Date creationDate)
The date the CA certificate was created.void
setStatus(CACertificateStatus status)
The status of the CA certificate.void
setStatus(String status)
The status of the CA certificate.String
toString()
Returns a string representation of this object; useful for testing and debugging.CACertificate
withCertificateArn(String certificateArn)
The ARN of the CA certificate.CACertificate
withCertificateId(String certificateId)
The ID of the CA certificate.CACertificate
withCreationDate(Date creationDate)
The date the CA certificate was created.CACertificate
withStatus(CACertificateStatus status)
The status of the CA certificate.CACertificate
withStatus(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CACertificate clone()
-
-