Class CertificateDescription
- java.lang.Object
-
- com.amazonaws.services.iot.model.CertificateDescription
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CertificateDescription extends Object implements Serializable, Cloneable
Describes a certificate.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CertificateDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateDescription
clone()
boolean
equals(Object obj)
String
getCaCertificateId()
The certificate ID of the CA certificate used to sign this certificate.String
getCertificateArn()
The ARN of the certificate.String
getCertificateId()
The ID of the certificate.String
getCertificatePem()
The certificate data, in PEM format.Date
getCreationDate()
The date and time the certificate was created.Date
getLastModifiedDate()
The date and time the certificate was last modified.String
getOwnedBy()
The ID of the AWS account that owns the certificate.String
getPreviousOwnedBy()
The ID of the AWS account of the previous owner of the certificate.String
getStatus()
The status of the certificate.TransferData
getTransferData()
The transfer data.int
hashCode()
void
setCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.void
setCertificateArn(String certificateArn)
The ARN of the certificate.void
setCertificateId(String certificateId)
The ID of the certificate.void
setCertificatePem(String certificatePem)
The certificate data, in PEM format.void
setCreationDate(Date creationDate)
The date and time the certificate was created.void
setLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.void
setOwnedBy(String ownedBy)
The ID of the AWS account that owns the certificate.void
setPreviousOwnedBy(String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.void
setStatus(CertificateStatus status)
The status of the certificate.void
setStatus(String status)
The status of the certificate.void
setTransferData(TransferData transferData)
The transfer data.String
toString()
Returns a string representation of this object; useful for testing and debugging.CertificateDescription
withCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.CertificateDescription
withCertificateArn(String certificateArn)
The ARN of the certificate.CertificateDescription
withCertificateId(String certificateId)
The ID of the certificate.CertificateDescription
withCertificatePem(String certificatePem)
The certificate data, in PEM format.CertificateDescription
withCreationDate(Date creationDate)
The date and time the certificate was created.CertificateDescription
withLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.CertificateDescription
withOwnedBy(String ownedBy)
The ID of the AWS account that owns the certificate.CertificateDescription
withPreviousOwnedBy(String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.CertificateDescription
withStatus(CertificateStatus status)
The status of the certificate.CertificateDescription
withStatus(String status)
The status of the certificate.CertificateDescription
withTransferData(TransferData transferData)
The transfer data.
-
-
-
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 CertificateDescription 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 CertificateDescription 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.
-
setCaCertificateId
public void setCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
- Parameters:
caCertificateId
- The certificate ID of the CA certificate used to sign this certificate.
-
getCaCertificateId
public String getCaCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
- Returns:
- The certificate ID of the CA certificate used to sign this certificate.
-
withCaCertificateId
public CertificateDescription withCaCertificateId(String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
- Parameters:
caCertificateId
- The certificate ID of the CA certificate used to sign this 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 CertificateDescription 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 CertificateDescription 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
-
setCertificatePem
public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
- Parameters:
certificatePem
- The certificate data, in PEM format.
-
getCertificatePem
public String getCertificatePem()
The certificate data, in PEM format.
- Returns:
- The certificate data, in PEM format.
-
withCertificatePem
public CertificateDescription withCertificatePem(String certificatePem)
The certificate data, in PEM format.
- Parameters:
certificatePem
- The 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 ID of the AWS account that owns the certificate.
- Parameters:
ownedBy
- The ID of the AWS account that owns the certificate.
-
getOwnedBy
public String getOwnedBy()
The ID of the AWS account that owns the certificate.
- Returns:
- The ID of the AWS account that owns the certificate.
-
withOwnedBy
public CertificateDescription withOwnedBy(String ownedBy)
The ID of the AWS account that owns the certificate.
- Parameters:
ownedBy
- The ID of the AWS account that owns the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPreviousOwnedBy
public void setPreviousOwnedBy(String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.
- Parameters:
previousOwnedBy
- The ID of the AWS account of the previous owner of the certificate.
-
getPreviousOwnedBy
public String getPreviousOwnedBy()
The ID of the AWS account of the previous owner of the certificate.
- Returns:
- The ID of the AWS account of the previous owner of the certificate.
-
withPreviousOwnedBy
public CertificateDescription withPreviousOwnedBy(String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.
- Parameters:
previousOwnedBy
- The ID of the AWS account of the previous owner of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 CertificateDescription 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.
-
setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.
- Parameters:
lastModifiedDate
- The date and time the certificate was last modified.
-
getLastModifiedDate
public Date getLastModifiedDate()
The date and time the certificate was last modified.
- Returns:
- The date and time the certificate was last modified.
-
withLastModifiedDate
public CertificateDescription withLastModifiedDate(Date lastModifiedDate)
The date and time the certificate was last modified.
- Parameters:
lastModifiedDate
- The date and time the certificate was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTransferData
public void setTransferData(TransferData transferData)
The transfer data.
- Parameters:
transferData
- The transfer data.
-
getTransferData
public TransferData getTransferData()
The transfer data.
- Returns:
- The transfer data.
-
withTransferData
public CertificateDescription withTransferData(TransferData transferData)
The transfer data.
- Parameters:
transferData
- The transfer data.- 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 CertificateDescription clone()
-
-