public class Certificate extends Object implements Serializable
Information about a certificate.
| Constructor and Description |
|---|
Certificate() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public String getCertificateArn()
public void setCertificateArn(String certificateArn)
certificateArn - The ARN of the certificate.public Certificate 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 Certificate 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 Certificate 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 Certificate 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 Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate - The date and time the certificate was created.public Certificate 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 String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.