@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Certificate extends Object implements Serializable, Cloneable, StructuredPojo
Describes the full details of an Amazon Lightsail SSL/TLS certificate.
To get a summary of a certificate, use the GetCertificates
action and omit
includeCertificateDetails
from your request. The response will include only the certificate Amazon
Resource Name (ARN), certificate name, domain name, and tags.
Constructor and Description |
---|
Certificate() |
Modifier and Type | Method and Description |
---|---|
Certificate |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the certificate.
|
Date |
getCreatedAt()
The timestamp when the certificate was created.
|
String |
getDomainName()
The domain name of the certificate.
|
List<DomainValidationRecord> |
getDomainValidationRecords()
An array of objects that describe the domain validation records of the certificate.
|
String |
getEligibleToRenew()
The renewal eligibility of the certificate.
|
Integer |
getInUseResourceCount()
The number of Lightsail resources that the certificate is attached to.
|
Date |
getIssuedAt()
The timestamp when the certificate was issued.
|
String |
getIssuerCA()
The certificate authority that issued the certificate.
|
String |
getKeyAlgorithm()
The algorithm used to generate the key pair (the public and private key) of the certificate.
|
String |
getName()
The name of the certificate (
my-certificate ). |
Date |
getNotAfter()
The timestamp when the certificate expires.
|
Date |
getNotBefore()
The timestamp when the certificate is first valid.
|
RenewalSummary |
getRenewalSummary()
An object that describes the status of the certificate renewal managed by Lightsail.
|
String |
getRequestFailureReason()
The validation failure reason, if any, of the certificate.
|
String |
getRevocationReason()
The reason the certificate was revoked.
|
Date |
getRevokedAt()
The timestamp when the certificate was revoked.
|
String |
getSerialNumber()
The serial number of the certificate.
|
String |
getStatus()
The validation status of the certificate.
|
List<String> |
getSubjectAlternativeNames()
An array of strings that specify the alternate domains (
example2.com ) and subdomains (
blog.example.com ) of the certificate. |
String |
getSupportCode()
The support code.
|
List<Tag> |
getTags()
The tag keys and optional values for the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the certificate.
|
void |
setCreatedAt(Date createdAt)
The timestamp when the certificate was created.
|
void |
setDomainName(String domainName)
The domain name of the certificate.
|
void |
setDomainValidationRecords(Collection<DomainValidationRecord> domainValidationRecords)
An array of objects that describe the domain validation records of the certificate.
|
void |
setEligibleToRenew(String eligibleToRenew)
The renewal eligibility of the certificate.
|
void |
setInUseResourceCount(Integer inUseResourceCount)
The number of Lightsail resources that the certificate is attached to.
|
void |
setIssuedAt(Date issuedAt)
The timestamp when the certificate was issued.
|
void |
setIssuerCA(String issuerCA)
The certificate authority that issued the certificate.
|
void |
setKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key) of the certificate.
|
void |
setName(String name)
The name of the certificate (
my-certificate ). |
void |
setNotAfter(Date notAfter)
The timestamp when the certificate expires.
|
void |
setNotBefore(Date notBefore)
The timestamp when the certificate is first valid.
|
void |
setRenewalSummary(RenewalSummary renewalSummary)
An object that describes the status of the certificate renewal managed by Lightsail.
|
void |
setRequestFailureReason(String requestFailureReason)
The validation failure reason, if any, of the certificate.
|
void |
setRevocationReason(String revocationReason)
The reason the certificate was revoked.
|
void |
setRevokedAt(Date revokedAt)
The timestamp when the certificate was revoked.
|
void |
setSerialNumber(String serialNumber)
The serial number of the certificate.
|
void |
setStatus(String status)
The validation status of the certificate.
|
void |
setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
An array of strings that specify the alternate domains (
example2.com ) and subdomains (
blog.example.com ) of the certificate. |
void |
setSupportCode(String supportCode)
The support code.
|
void |
setTags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
String |
toString()
Returns a string representation of this object.
|
Certificate |
withArn(String arn)
The Amazon Resource Name (ARN) of the certificate.
|
Certificate |
withCreatedAt(Date createdAt)
The timestamp when the certificate was created.
|
Certificate |
withDomainName(String domainName)
The domain name of the certificate.
|
Certificate |
withDomainValidationRecords(Collection<DomainValidationRecord> domainValidationRecords)
An array of objects that describe the domain validation records of the certificate.
|
Certificate |
withDomainValidationRecords(DomainValidationRecord... domainValidationRecords)
An array of objects that describe the domain validation records of the certificate.
|
Certificate |
withEligibleToRenew(String eligibleToRenew)
The renewal eligibility of the certificate.
|
Certificate |
withInUseResourceCount(Integer inUseResourceCount)
The number of Lightsail resources that the certificate is attached to.
|
Certificate |
withIssuedAt(Date issuedAt)
The timestamp when the certificate was issued.
|
Certificate |
withIssuerCA(String issuerCA)
The certificate authority that issued the certificate.
|
Certificate |
withKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key) of the certificate.
|
Certificate |
withName(String name)
The name of the certificate (
my-certificate ). |
Certificate |
withNotAfter(Date notAfter)
The timestamp when the certificate expires.
|
Certificate |
withNotBefore(Date notBefore)
The timestamp when the certificate is first valid.
|
Certificate |
withRenewalSummary(RenewalSummary renewalSummary)
An object that describes the status of the certificate renewal managed by Lightsail.
|
Certificate |
withRequestFailureReason(String requestFailureReason)
The validation failure reason, if any, of the certificate.
|
Certificate |
withRevocationReason(String revocationReason)
The reason the certificate was revoked.
|
Certificate |
withRevokedAt(Date revokedAt)
The timestamp when the certificate was revoked.
|
Certificate |
withSerialNumber(String serialNumber)
The serial number of the certificate.
|
Certificate |
withStatus(CertificateStatus status)
The validation status of the certificate.
|
Certificate |
withStatus(String status)
The validation status of the certificate.
|
Certificate |
withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
An array of strings that specify the alternate domains (
example2.com ) and subdomains (
blog.example.com ) of the certificate. |
Certificate |
withSubjectAlternativeNames(String... subjectAlternativeNames)
An array of strings that specify the alternate domains (
example2.com ) and subdomains (
blog.example.com ) of the certificate. |
Certificate |
withSupportCode(String supportCode)
The support code.
|
Certificate |
withTags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
Certificate |
withTags(Tag... tags)
The tag keys and optional values for the resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the certificate.
arn
- The Amazon Resource Name (ARN) of the certificate.public String getArn()
The Amazon Resource Name (ARN) of the certificate.
public Certificate withArn(String arn)
The Amazon Resource Name (ARN) of the certificate.
arn
- The Amazon Resource Name (ARN) of the certificate.public void setName(String name)
The name of the certificate (my-certificate
).
name
- The name of the certificate (my-certificate
).public String getName()
The name of the certificate (my-certificate
).
my-certificate
).public Certificate withName(String name)
The name of the certificate (my-certificate
).
name
- The name of the certificate (my-certificate
).public void setDomainName(String domainName)
The domain name of the certificate.
domainName
- The domain name of the certificate.public String getDomainName()
The domain name of the certificate.
public Certificate withDomainName(String domainName)
The domain name of the certificate.
domainName
- The domain name of the certificate.public void setStatus(String status)
The validation status of the certificate.
status
- The validation status of the certificate.CertificateStatus
public String getStatus()
The validation status of the certificate.
CertificateStatus
public Certificate withStatus(String status)
The validation status of the certificate.
status
- The validation status of the certificate.CertificateStatus
public Certificate withStatus(CertificateStatus status)
The validation status of the certificate.
status
- The validation status of the certificate.CertificateStatus
public void setSerialNumber(String serialNumber)
The serial number of the certificate.
serialNumber
- The serial number of the certificate.public String getSerialNumber()
The serial number of the certificate.
public Certificate withSerialNumber(String serialNumber)
The serial number of the certificate.
serialNumber
- The serial number of the certificate.public List<String> getSubjectAlternativeNames()
An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.
example2.com
) and subdomains (
blog.example.com
) of the certificate.public void setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.
subjectAlternativeNames
- An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.public Certificate withSubjectAlternativeNames(String... subjectAlternativeNames)
An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.
NOTE: This method appends the values to the existing list (if any). Use
setSubjectAlternativeNames(java.util.Collection)
or
withSubjectAlternativeNames(java.util.Collection)
if you want to override the existing values.
subjectAlternativeNames
- An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.public Certificate withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.
subjectAlternativeNames
- An array of strings that specify the alternate domains (example2.com
) and subdomains (
blog.example.com
) of the certificate.public List<DomainValidationRecord> getDomainValidationRecords()
An array of objects that describe the domain validation records of the certificate.
public void setDomainValidationRecords(Collection<DomainValidationRecord> domainValidationRecords)
An array of objects that describe the domain validation records of the certificate.
domainValidationRecords
- An array of objects that describe the domain validation records of the certificate.public Certificate withDomainValidationRecords(DomainValidationRecord... domainValidationRecords)
An array of objects that describe the domain validation records of the certificate.
NOTE: This method appends the values to the existing list (if any). Use
setDomainValidationRecords(java.util.Collection)
or
withDomainValidationRecords(java.util.Collection)
if you want to override the existing values.
domainValidationRecords
- An array of objects that describe the domain validation records of the certificate.public Certificate withDomainValidationRecords(Collection<DomainValidationRecord> domainValidationRecords)
An array of objects that describe the domain validation records of the certificate.
domainValidationRecords
- An array of objects that describe the domain validation records of the certificate.public void setRequestFailureReason(String requestFailureReason)
The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not available
for Lightsail certificates.
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to process
this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the
Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact Amazon Web
Services Support.
You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was
reported as an unsafe domain by VirusTotal. To correct the
problem, search for your domain name on the VirusTotal
website. If your domain is reported as suspicious, see Google Help for Hacked Websites to
learn what you can do.
If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case.
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request is not
valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a
certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all
domain names in the request are for valid top-level domains. For example, you cannot request a certificate for
example.invalidpublicdomain
because invalidpublicdomain
is not a valid top-level
domain.
OTHER
- Typically, this failure occurs when there is a typographical error in one or more
of the domain names in the certificate request. Try to request a certificate again, correcting any spelling
errors or typos that were in the failed request.
requestFailureReason
- The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not
available for Lightsail certificates.
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to
process this certificate request. This can happen as a fraud-protection measure, such as when the domain
ranks within the Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact
Amazon Web Services Support.
You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was
reported as an unsafe domain by VirusTotal. To
correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as
suspicious, see Google Help for
Hacked Websites to learn what you can do.
If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case.
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request
is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try
to request a certificate again, correcting any spelling errors or typos that were in the failed request,
and ensure that all domain names in the request are for valid top-level domains. For example, you cannot
request a certificate for example.invalidpublicdomain
because
invalidpublicdomain
is not a valid top-level domain.
OTHER
- Typically, this failure occurs when there is a typographical error in one or
more of the domain names in the certificate request. Try to request a certificate again, correcting any
spelling errors or typos that were in the failed request.
public String getRequestFailureReason()
The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not available
for Lightsail certificates.
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to process
this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the
Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact Amazon Web
Services Support.
You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was
reported as an unsafe domain by VirusTotal. To correct the
problem, search for your domain name on the VirusTotal
website. If your domain is reported as suspicious, see Google Help for Hacked Websites to
learn what you can do.
If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case.
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request is not
valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a
certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all
domain names in the request are for valid top-level domains. For example, you cannot request a certificate for
example.invalidpublicdomain
because invalidpublicdomain
is not a valid top-level
domain.
OTHER
- Typically, this failure occurs when there is a typographical error in one or more
of the domain names in the certificate request. Try to request a certificate again, correcting any spelling
errors or typos that were in the failed request.
The following failure reasons are possible:
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not
available for Lightsail certificates.
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to
process this certificate request. This can happen as a fraud-protection measure, such as when the domain
ranks within the Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact
Amazon Web Services Support.
You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was
reported as an unsafe domain by VirusTotal. To
correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as
suspicious, see Google Help for
Hacked Websites to learn what you can do.
If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case.
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request
is not valid. Typically, this is because a domain name in the request is not a valid top-level domain.
Try to request a certificate again, correcting any spelling errors or typos that were in the failed
request, and ensure that all domain names in the request are for valid top-level domains. For example,
you cannot request a certificate for example.invalidpublicdomain
because
invalidpublicdomain
is not a valid top-level domain.
OTHER
- Typically, this failure occurs when there is a typographical error in one
or more of the domain names in the certificate request. Try to request a certificate again, correcting
any spelling errors or typos that were in the failed request.
public Certificate withRequestFailureReason(String requestFailureReason)
The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not available
for Lightsail certificates.
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to process
this certificate request. This can happen as a fraud-protection measure, such as when the domain ranks within the
Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact Amazon Web
Services Support.
You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was
reported as an unsafe domain by VirusTotal. To correct the
problem, search for your domain name on the VirusTotal
website. If your domain is reported as suspicious, see Google Help for Hacked Websites to
learn what you can do.
If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case.
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request is not
valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try to request a
certificate again, correcting any spelling errors or typos that were in the failed request, and ensure that all
domain names in the request are for valid top-level domains. For example, you cannot request a certificate for
example.invalidpublicdomain
because invalidpublicdomain
is not a valid top-level
domain.
OTHER
- Typically, this failure occurs when there is a typographical error in one or more
of the domain names in the certificate request. Try to request a certificate again, correcting any spelling
errors or typos that were in the failed request.
requestFailureReason
- The validation failure reason, if any, of the certificate.
The following failure reasons are possible:
NO_AVAILABLE_CONTACTS
- This failure applies to email validation, which is not
available for Lightsail certificates.
ADDITIONAL_VERIFICATION_REQUIRED
- Lightsail requires additional information to
process this certificate request. This can happen as a fraud-protection measure, such as when the domain
ranks within the Alexa top 1000 websites. To provide the required information, use the Amazon Web Services Support Center to contact
Amazon Web Services Support.
You cannot request a certificate for Amazon-owned domain names such as those ending in amazonaws.com, cloudfront.net, or elasticbeanstalk.com.
DOMAIN_NOT_ALLOWED
- One or more of the domain names in the certificate request was
reported as an unsafe domain by VirusTotal. To
correct the problem, search for your domain name on the VirusTotal website. If your domain is reported as
suspicious, see Google Help for
Hacked Websites to learn what you can do.
If you believe that the result is a false positive, notify the organization that is reporting the domain. VirusTotal is an aggregate of several antivirus and URL scanners and cannot remove your domain from a block list itself. After you correct the problem and the VirusTotal registry has been updated, request a new certificate.
If you see this error and your domain is not included in the VirusTotal list, visit the Amazon Web Services Support Center and create a case.
INVALID_PUBLIC_DOMAIN
- One or more of the domain names in the certificate request
is not valid. Typically, this is because a domain name in the request is not a valid top-level domain. Try
to request a certificate again, correcting any spelling errors or typos that were in the failed request,
and ensure that all domain names in the request are for valid top-level domains. For example, you cannot
request a certificate for example.invalidpublicdomain
because
invalidpublicdomain
is not a valid top-level domain.
OTHER
- Typically, this failure occurs when there is a typographical error in one or
more of the domain names in the certificate request. Try to request a certificate again, correcting any
spelling errors or typos that were in the failed request.
public void setInUseResourceCount(Integer inUseResourceCount)
The number of Lightsail resources that the certificate is attached to.
inUseResourceCount
- The number of Lightsail resources that the certificate is attached to.public Integer getInUseResourceCount()
The number of Lightsail resources that the certificate is attached to.
public Certificate withInUseResourceCount(Integer inUseResourceCount)
The number of Lightsail resources that the certificate is attached to.
inUseResourceCount
- The number of Lightsail resources that the certificate is attached to.public void setKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key) of the certificate.
keyAlgorithm
- The algorithm used to generate the key pair (the public and private key) of the certificate.public String getKeyAlgorithm()
The algorithm used to generate the key pair (the public and private key) of the certificate.
public Certificate withKeyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key) of the certificate.
keyAlgorithm
- The algorithm used to generate the key pair (the public and private key) of the certificate.public void setCreatedAt(Date createdAt)
The timestamp when the certificate was created.
createdAt
- The timestamp when the certificate was created.public Date getCreatedAt()
The timestamp when the certificate was created.
public Certificate withCreatedAt(Date createdAt)
The timestamp when the certificate was created.
createdAt
- The timestamp when the certificate was created.public void setIssuedAt(Date issuedAt)
The timestamp when the certificate was issued.
issuedAt
- The timestamp when the certificate was issued.public Date getIssuedAt()
The timestamp when the certificate was issued.
public Certificate withIssuedAt(Date issuedAt)
The timestamp when the certificate was issued.
issuedAt
- The timestamp when the certificate was issued.public void setIssuerCA(String issuerCA)
The certificate authority that issued the certificate.
issuerCA
- The certificate authority that issued the certificate.public String getIssuerCA()
The certificate authority that issued the certificate.
public Certificate withIssuerCA(String issuerCA)
The certificate authority that issued the certificate.
issuerCA
- The certificate authority that issued the certificate.public void setNotBefore(Date notBefore)
The timestamp when the certificate is first valid.
notBefore
- The timestamp when the certificate is first valid.public Date getNotBefore()
The timestamp when the certificate is first valid.
public Certificate withNotBefore(Date notBefore)
The timestamp when the certificate is first valid.
notBefore
- The timestamp when the certificate is first valid.public void setNotAfter(Date notAfter)
The timestamp when the certificate expires.
notAfter
- The timestamp when the certificate expires.public Date getNotAfter()
The timestamp when the certificate expires.
public Certificate withNotAfter(Date notAfter)
The timestamp when the certificate expires.
notAfter
- The timestamp when the certificate expires.public void setEligibleToRenew(String eligibleToRenew)
The renewal eligibility of the certificate.
eligibleToRenew
- The renewal eligibility of the certificate.public String getEligibleToRenew()
The renewal eligibility of the certificate.
public Certificate withEligibleToRenew(String eligibleToRenew)
The renewal eligibility of the certificate.
eligibleToRenew
- The renewal eligibility of the certificate.public void setRenewalSummary(RenewalSummary renewalSummary)
An object that describes the status of the certificate renewal managed by Lightsail.
renewalSummary
- An object that describes the status of the certificate renewal managed by Lightsail.public RenewalSummary getRenewalSummary()
An object that describes the status of the certificate renewal managed by Lightsail.
public Certificate withRenewalSummary(RenewalSummary renewalSummary)
An object that describes the status of the certificate renewal managed by Lightsail.
renewalSummary
- An object that describes the status of the certificate renewal managed by Lightsail.public void setRevokedAt(Date revokedAt)
The timestamp when the certificate was revoked. This value is present only when the certificate status is
REVOKED
.
revokedAt
- The timestamp when the certificate was revoked. This value is present only when the certificate status is
REVOKED
.public Date getRevokedAt()
The timestamp when the certificate was revoked. This value is present only when the certificate status is
REVOKED
.
REVOKED
.public Certificate withRevokedAt(Date revokedAt)
The timestamp when the certificate was revoked. This value is present only when the certificate status is
REVOKED
.
revokedAt
- The timestamp when the certificate was revoked. This value is present only when the certificate status is
REVOKED
.public void setRevocationReason(String revocationReason)
The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED
.
revocationReason
- The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED
.public String getRevocationReason()
The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED
.
REVOKED
.public Certificate withRevocationReason(String revocationReason)
The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED
.
revocationReason
- The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED
.public List<Tag> getTags()
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
public void setTags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the
Amazon Lightsail
Developer Guide.public Certificate withTags(Tag... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the
Amazon Lightsail
Developer Guide.public Certificate withTags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the
Amazon Lightsail
Developer Guide.public void setSupportCode(String supportCode)
The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code. Include this code in your email to support when you have questions about your Lightsail
certificate. This code enables our support team to look up your Lightsail information more easily.public String getSupportCode()
The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.
public Certificate withSupportCode(String supportCode)
The support code. Include this code in your email to support when you have questions about your Lightsail certificate. This code enables our support team to look up your Lightsail information more easily.
supportCode
- The support code. Include this code in your email to support when you have questions about your Lightsail
certificate. This code enables our support team to look up your Lightsail information more easily.public String toString()
toString
in class Object
Object.toString()
public Certificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.