Package com.amazonaws.services.iot.model
Class Certificate
- java.lang.Object
-
- com.amazonaws.services.iot.model.Certificate
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Certificate extends Object implements Serializable, Cloneable
Information about a certificate.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Certificate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Certificate
clone()
boolean
equals(Object obj)
String
getCertificateArn()
The ARN of the certificate.String
getCertificateId()
The ID of the certificate.Date
getCreationDate()
The date and time the certificate was created.String
getStatus()
The status of the certificate.int
hashCode()
void
setCertificateArn(String certificateArn)
The ARN of the certificate.void
setCertificateId(String certificateId)
The ID of the certificate.void
setCreationDate(Date creationDate)
The date and time the certificate was created.void
setStatus(CertificateStatus status)
The status of the certificate.void
setStatus(String status)
The status of the certificate.String
toString()
Returns a string representation of this object; useful for testing and debugging.Certificate
withCertificateArn(String certificateArn)
The ARN of the certificate.Certificate
withCertificateId(String certificateId)
The ID of the certificate.Certificate
withCreationDate(Date creationDate)
The date and time the certificate was created.Certificate
withStatus(CertificateStatus status)
The status of the certificate.Certificate
withStatus(String status)
The status of the certificate.
-
-
-
Method Detail
-
setCertificateArn
public void setCertificateArn(String certificateArn)
The ARN of the certificate.
- Parameters:
certificateArn
- The ARN of the certificate.
-
getCertificateArn
public String getCertificateArn()
The ARN of the certificate.
- Returns:
- The ARN of the certificate.
-
withCertificateArn
public Certificate withCertificateArn(String certificateArn)
The ARN of the certificate.
- Parameters:
certificateArn
- The ARN of the 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 certificate.
- Parameters:
certificateId
- The ID of the certificate.
-
getCertificateId
public String getCertificateId()
The ID of the certificate.
- Returns:
- The ID of the certificate.
-
withCertificateId
public Certificate withCertificateId(String certificateId)
The ID of the certificate.
- Parameters:
certificateId
- The ID of the 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 certificate.
- Parameters:
status
- The status of the certificate.- See Also:
CertificateStatus
-
getStatus
public String getStatus()
The status of the certificate.
- Returns:
- The status of the certificate.
- See Also:
CertificateStatus
-
withStatus
public Certificate withStatus(String status)
The status of the certificate.
- Parameters:
status
- The status of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatus
-
setStatus
public void setStatus(CertificateStatus status)
The status of the certificate.
- Parameters:
status
- The status of the certificate.- See Also:
CertificateStatus
-
withStatus
public Certificate withStatus(CertificateStatus status)
The status of the certificate.
- Parameters:
status
- The status of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CertificateStatus
-
setCreationDate
public void setCreationDate(Date creationDate)
The date and time the certificate was created.
- Parameters:
creationDate
- The date and time the certificate was created.
-
getCreationDate
public Date getCreationDate()
The date and time the certificate was created.
- Returns:
- The date and time the certificate was created.
-
withCreationDate
public Certificate withCreationDate(Date creationDate)
The date and time the certificate was created.
- Parameters:
creationDate
- The date and time the 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 Certificate clone()
-
-