public class Certificate
extends java.lang.Object
implements java.io.Serializable
Information about a certificate.
Constructor and Description |
---|
Certificate() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCertificateArn()
The ARN of the certificate.
|
java.lang.String |
getCertificateId()
The ID of the certificate.
|
java.lang.String |
getCertificateMode()
The mode of the certificate.
|
java.util.Date |
getCreationDate()
The date and time the certificate was created.
|
java.lang.String |
getStatus()
The status of the certificate.
|
int |
hashCode() |
void |
setCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
|
void |
setCertificateId(java.lang.String certificateId)
The ID of the certificate.
|
void |
setCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
void |
setCertificateMode(java.lang.String certificateMode)
The mode of the certificate.
|
void |
setCreationDate(java.util.Date creationDate)
The date and time the certificate was created.
|
void |
setStatus(CertificateStatus status)
The status of the certificate.
|
void |
setStatus(java.lang.String status)
The status of the certificate.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Certificate |
withCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
|
Certificate |
withCertificateId(java.lang.String certificateId)
The ID of the certificate.
|
Certificate |
withCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
Certificate |
withCertificateMode(java.lang.String certificateMode)
The mode of the certificate.
|
Certificate |
withCreationDate(java.util.Date creationDate)
The date and time the certificate was created.
|
Certificate |
withStatus(CertificateStatus status)
The status of the certificate.
|
Certificate |
withStatus(java.lang.String status)
The status of the certificate.
|
public java.lang.String getCertificateArn()
The ARN of the certificate.
The ARN of the certificate.
public void setCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
certificateArn
- The ARN of the certificate.
public Certificate withCertificateArn(java.lang.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 java.lang.String getCertificateId()
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
public void setCertificateId(java.lang.String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId
- The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
public Certificate withCertificateId(java.lang.String certificateId)
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
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. (The last part of the certificate ARN contains the certificate ID.)
public java.lang.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.
CertificateStatus
public void setStatus(java.lang.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.
CertificateStatus
public Certificate withStatus(java.lang.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.
CertificateStatus
public 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.
CertificateStatus
public 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.
CertificateStatus
public java.lang.String getCertificateMode()
The mode of the certificate.
Constraints:
Allowed Values: DEFAULT, SNI_ONLY
The mode of the certificate.
CertificateMode
public void setCertificateMode(java.lang.String certificateMode)
The mode of the certificate.
Constraints:
Allowed Values: DEFAULT, SNI_ONLY
certificateMode
- The mode of the certificate.
CertificateMode
public Certificate withCertificateMode(java.lang.String certificateMode)
The mode of the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, SNI_ONLY
certificateMode
- The mode of the certificate.
CertificateMode
public void setCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
Constraints:
Allowed Values: DEFAULT, SNI_ONLY
certificateMode
- The mode of the certificate.
CertificateMode
public Certificate withCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DEFAULT, SNI_ONLY
certificateMode
- The mode of the certificate.
CertificateMode
public java.util.Date getCreationDate()
The date and time the certificate was created.
The date and time the certificate was created.
public void setCreationDate(java.util.Date creationDate)
The date and time the certificate was created.
creationDate
- The date and time the certificate was created.
public Certificate withCreationDate(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.