public class CertificateDescription extends Object implements Serializable
Describes a certificate.
| Constructor and Description |
|---|
CertificateDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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 |
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 |
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 |
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.
|
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 |
withStatus(CertificateStatus status)
The status of the certificate.
|
CertificateDescription |
withStatus(String status)
The status of the certificate.
|
public String getCertificateArn()
public void setCertificateArn(String certificateArn)
certificateArn - The ARN of the certificate.public CertificateDescription withCertificateArn(String certificateArn)
Returns a reference to this object so that method calls can be chained together.
certificateArn - The ARN of the certificate.public String getCertificateId()
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
public void setCertificateId(String certificateId)
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate.public CertificateDescription withCertificateId(String certificateId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate.public String getStatus()
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER
CertificateStatuspublic void setStatus(String status)
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER
status - The status of the certificate.CertificateStatuspublic CertificateDescription withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER
status - The status of the certificate.CertificateStatuspublic void setStatus(CertificateStatus status)
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER
status - The status of the certificate.CertificateStatuspublic CertificateDescription withStatus(CertificateStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER
status - The status of the certificate.CertificateStatuspublic String getCertificatePem()
Constraints:
Length: 1 -
public void setCertificatePem(String certificatePem)
Constraints:
Length: 1 -
certificatePem - The certificate data, in PEM format.public CertificateDescription withCertificatePem(String certificatePem)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
certificatePem - The certificate data, in PEM format.public String getOwnedBy()
Constraints:
Pattern: [0-9]{12}
public void setOwnedBy(String ownedBy)
Constraints:
Pattern: [0-9]{12}
ownedBy - The ID of the AWS account that owns the certificate.public CertificateDescription withOwnedBy(String ownedBy)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [0-9]{12}
ownedBy - The ID of the AWS account that owns the certificate.public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - The date and time the certificate was created.public CertificateDescription withCreationDate(Date creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The date and time the certificate was created.public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate - The date and time the certificate was last modified.public CertificateDescription withLastModifiedDate(Date lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The date and time the certificate was last modified.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.