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()
The ARN of the certificate.
The ARN of the certificate.
public void setCertificateArn(String certificateArn)
The ARN of the certificate.
certificateArn - The ARN of the certificate.
public Certificate withCertificateArn(String certificateArn)
The ARN of the certificate.
Returns a reference to this object so that method calls can be chained together.
certificateArn - The ARN of the certificate.
public String getCertificateId()
The ID of the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The ID of the certificate.
public void setCertificateId(String certificateId)
The ID of the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId - The ID of the certificate.
public Certificate withCertificateId(String certificateId)
The ID of the certificate.
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()
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic void setStatus(String status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status - The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic Certificate withStatus(String status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status - The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic void setStatus(CertificateStatus status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status - The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic Certificate withStatus(CertificateStatus status)
The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status - The status of the certificate.
The status value REGISTER_INACTIVE is deprecated and should not be used.
CertificateStatuspublic Date getCreationDate()
The date and time the certificate was created.
The date and time the certificate was created.
public void setCreationDate(Date creationDate)
The date and time the certificate was created.
creationDate - The date and time the certificate was created.
public Certificate withCreationDate(Date creationDate)
The date and time the certificate was created.
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 © 2017. All rights reserved.