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 CertificateDescriptionclone()booleanequals(Object obj)StringgetCaCertificateId()The certificate ID of the CA certificate used to sign this certificate.StringgetCertificateArn()The ARN of the certificate.StringgetCertificateId()The ID of the certificate.StringgetCertificatePem()The certificate data, in PEM format.DategetCreationDate()The date and time the certificate was created.DategetLastModifiedDate()The date and time the certificate was last modified.StringgetOwnedBy()The ID of the AWS account that owns the certificate.StringgetPreviousOwnedBy()The ID of the AWS account of the previous owner of the certificate.StringgetStatus()The status of the certificate.TransferDatagetTransferData()The transfer data.inthashCode()voidsetCaCertificateId(String caCertificateId)The certificate ID of the CA certificate used to sign this certificate.voidsetCertificateArn(String certificateArn)The ARN of the certificate.voidsetCertificateId(String certificateId)The ID of the certificate.voidsetCertificatePem(String certificatePem)The certificate data, in PEM format.voidsetCreationDate(Date creationDate)The date and time the certificate was created.voidsetLastModifiedDate(Date lastModifiedDate)The date and time the certificate was last modified.voidsetOwnedBy(String ownedBy)The ID of the AWS account that owns the certificate.voidsetPreviousOwnedBy(String previousOwnedBy)The ID of the AWS account of the previous owner of the certificate.voidsetStatus(CertificateStatus status)The status of the certificate.voidsetStatus(String status)The status of the certificate.voidsetTransferData(TransferData transferData)The transfer data.StringtoString()Returns a string representation of this object; useful for testing and debugging.CertificateDescriptionwithCaCertificateId(String caCertificateId)The certificate ID of the CA certificate used to sign this certificate.CertificateDescriptionwithCertificateArn(String certificateArn)The ARN of the certificate.CertificateDescriptionwithCertificateId(String certificateId)The ID of the certificate.CertificateDescriptionwithCertificatePem(String certificatePem)The certificate data, in PEM format.CertificateDescriptionwithCreationDate(Date creationDate)The date and time the certificate was created.CertificateDescriptionwithLastModifiedDate(Date lastModifiedDate)The date and time the certificate was last modified.CertificateDescriptionwithOwnedBy(String ownedBy)The ID of the AWS account that owns the certificate.CertificateDescriptionwithPreviousOwnedBy(String previousOwnedBy)The ID of the AWS account of the previous owner of the certificate.CertificateDescriptionwithStatus(CertificateStatus status)The status of the certificate.CertificateDescriptionwithStatus(String status)The status of the certificate.CertificateDescriptionwithTransferData(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CertificateDescription clone()
-
-