public class CertificateDescription
extends java.lang.Object
implements java.io.Serializable
Describes a certificate.
Constructor and Description |
---|
CertificateDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCaCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
|
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.lang.String |
getCertificatePem()
The certificate data, in PEM format.
|
java.util.Date |
getCreationDate()
The date and time the certificate was created.
|
java.lang.Integer |
getCustomerVersion()
The customer version of the certificate.
|
java.lang.String |
getGenerationId()
The generation ID of the certificate.
|
java.util.Date |
getLastModifiedDate()
The date and time the certificate was last modified.
|
java.lang.String |
getOwnedBy()
The ID of the AWS account that owns the certificate.
|
java.lang.String |
getPreviousOwnedBy()
The ID of the AWS account of the previous owner of the certificate.
|
java.lang.String |
getStatus()
The status of the certificate.
|
TransferData |
getTransferData()
The transfer data.
|
CertificateValidity |
getValidity()
When the certificate is valid.
|
int |
hashCode() |
void |
setCaCertificateId(java.lang.String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
|
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 |
setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
|
void |
setCreationDate(java.util.Date creationDate)
The date and time the certificate was created.
|
void |
setCustomerVersion(java.lang.Integer customerVersion)
The customer version of the certificate.
|
void |
setGenerationId(java.lang.String generationId)
The generation ID of the certificate.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the certificate was last modified.
|
void |
setOwnedBy(java.lang.String ownedBy)
The ID of the AWS account that owns the certificate.
|
void |
setPreviousOwnedBy(java.lang.String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.
|
void |
setStatus(CertificateStatus status)
The status of the certificate.
|
void |
setStatus(java.lang.String status)
The status of the certificate.
|
void |
setTransferData(TransferData transferData)
The transfer data.
|
void |
setValidity(CertificateValidity validity)
When the certificate is valid.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CertificateDescription |
withCaCertificateId(java.lang.String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
|
CertificateDescription |
withCertificateArn(java.lang.String certificateArn)
The ARN of the certificate.
|
CertificateDescription |
withCertificateId(java.lang.String certificateId)
The ID of the certificate.
|
CertificateDescription |
withCertificateMode(CertificateMode certificateMode)
The mode of the certificate.
|
CertificateDescription |
withCertificateMode(java.lang.String certificateMode)
The mode of the certificate.
|
CertificateDescription |
withCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
|
CertificateDescription |
withCreationDate(java.util.Date creationDate)
The date and time the certificate was created.
|
CertificateDescription |
withCustomerVersion(java.lang.Integer customerVersion)
The customer version of the certificate.
|
CertificateDescription |
withGenerationId(java.lang.String generationId)
The generation ID of the certificate.
|
CertificateDescription |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the certificate was last modified.
|
CertificateDescription |
withOwnedBy(java.lang.String ownedBy)
The ID of the AWS account that owns the certificate.
|
CertificateDescription |
withPreviousOwnedBy(java.lang.String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.
|
CertificateDescription |
withStatus(CertificateStatus status)
The status of the certificate.
|
CertificateDescription |
withStatus(java.lang.String status)
The status of the certificate.
|
CertificateDescription |
withTransferData(TransferData transferData)
The transfer data.
|
CertificateDescription |
withValidity(CertificateValidity validity)
When the certificate is valid.
|
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 CertificateDescription 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.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The ID of the certificate.
public void setCertificateId(java.lang.String certificateId)
The ID of the certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
certificateId
- The ID of the certificate.
public CertificateDescription withCertificateId(java.lang.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 java.lang.String getCaCertificateId()
The certificate ID of the CA certificate used to sign this certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
The certificate ID of the CA certificate used to sign this certificate.
public void setCaCertificateId(java.lang.String caCertificateId)
The certificate ID of the CA certificate used to sign this certificate.
Constraints:
Length: 64 - 64
Pattern: (0x)?[a-fA-F0-9]+
caCertificateId
- The certificate ID of the CA certificate used to sign this certificate.
public CertificateDescription withCaCertificateId(java.lang.String caCertificateId)
The certificate ID of the CA certificate used to sign this 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]+
caCertificateId
- The certificate ID of the CA certificate used to sign this certificate.
public java.lang.String getStatus()
The status of the certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
The status of the certificate.
CertificateStatus
public void setStatus(java.lang.String status)
The status of the certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status
- The status of the certificate.
CertificateStatus
public CertificateDescription withStatus(java.lang.String status)
The status of the certificate.
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.
CertificateStatus
public void setStatus(CertificateStatus status)
The status of the certificate.
Constraints:
Allowed Values: ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER,
REGISTER_INACTIVE, PENDING_ACTIVATION
status
- The status of the certificate.
CertificateStatus
public CertificateDescription withStatus(CertificateStatus status)
The status of the certificate.
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.
CertificateStatus
public java.lang.String getCertificatePem()
The certificate data, in PEM format.
Constraints:
Length: 1 - 65536
The certificate data, in PEM format.
public void setCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
Constraints:
Length: 1 - 65536
certificatePem
- The certificate data, in PEM format.
public CertificateDescription withCertificatePem(java.lang.String certificatePem)
The certificate data, in PEM format.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 65536
certificatePem
- The certificate data, in PEM format.
public java.lang.String getOwnedBy()
The ID of the AWS account that owns the certificate.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
The ID of the AWS account that owns the certificate.
public void setOwnedBy(java.lang.String ownedBy)
The ID of the AWS account that owns the certificate.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
ownedBy
- The ID of the AWS account that owns the certificate.
public CertificateDescription withOwnedBy(java.lang.String ownedBy)
The ID of the AWS account that owns the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
ownedBy
- The ID of the AWS account that owns the certificate.
public java.lang.String getPreviousOwnedBy()
The ID of the AWS account of the previous owner of the certificate.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
The ID of the AWS account of the previous owner of the certificate.
public void setPreviousOwnedBy(java.lang.String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
previousOwnedBy
- The ID of the AWS account of the previous owner of the certificate.
public CertificateDescription withPreviousOwnedBy(java.lang.String previousOwnedBy)
The ID of the AWS account of the previous owner of the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 12 - 12
Pattern: [0-9]+
previousOwnedBy
- The ID of the AWS account of the previous owner of the certificate.
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 CertificateDescription 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.util.Date getLastModifiedDate()
The date and time the certificate was last modified.
The date and time the certificate was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the certificate was last modified.
lastModifiedDate
- The date and time the certificate was last modified.
public CertificateDescription withLastModifiedDate(java.util.Date lastModifiedDate)
The date and time the certificate was last modified.
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 java.lang.Integer getCustomerVersion()
The customer version of the certificate.
Constraints:
Range: 1 -
The customer version of the certificate.
public void setCustomerVersion(java.lang.Integer customerVersion)
The customer version of the certificate.
Constraints:
Range: 1 -
customerVersion
- The customer version of the certificate.
public CertificateDescription withCustomerVersion(java.lang.Integer customerVersion)
The customer version of the certificate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
customerVersion
- The customer version of the certificate.
public TransferData getTransferData()
The transfer data.
The transfer data.
public void setTransferData(TransferData transferData)
The transfer data.
transferData
- The transfer data.
public CertificateDescription withTransferData(TransferData transferData)
The transfer data.
Returns a reference to this object so that method calls can be chained together.
transferData
- The transfer data.
public java.lang.String getGenerationId()
The generation ID of the certificate.
The generation ID of the certificate.
public void setGenerationId(java.lang.String generationId)
The generation ID of the certificate.
generationId
- The generation ID of the certificate.
public CertificateDescription withGenerationId(java.lang.String generationId)
The generation ID of the certificate.
Returns a reference to this object so that method calls can be chained together.
generationId
- The generation ID of the certificate.
public CertificateValidity getValidity()
When the certificate is valid.
When the certificate is valid.
public void setValidity(CertificateValidity validity)
When the certificate is valid.
validity
- When the certificate is valid.
public CertificateDescription withValidity(CertificateValidity validity)
When the certificate is valid.
Returns a reference to this object so that method calls can be chained together.
validity
- When the certificate is valid.
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 CertificateDescription 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 CertificateDescription 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.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.