/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.lightsail.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Describes a load balancer SSL/TLS certificate. *
** TLS is just an updated, more secure version of Secure Socket Layer (SSL). *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerTlsCertificate implements Serializable, Cloneable, StructuredPojo { /** *
* The name of the SSL/TLS certificate (e.g., my-certificate
).
*
* The Amazon Resource Name (ARN) of the SSL/TLS certificate. *
*/ private String arn; /** ** The support code. Include this code in your email to support when you have questions about your Lightsail load * balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more * easily. *
*/ private String supportCode; /** ** The time when you created your SSL/TLS certificate. *
*/ private java.util.Date createdAt; /** ** The Amazon Web Services Region and Availability Zone where you created your certificate. *
*/ private ResourceLocation location; /** *
* The resource type (e.g., LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
* The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer * Guide. *
*/ private java.util.List* The load balancer name where your SSL/TLS certificate is attached. *
*/ private String loadBalancerName; /** *
* When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*
* The validation status of the SSL/TLS certificate. Valid values are below. *
*/ private String status; /** ** The domain name for your SSL/TLS certificate. *
*/ private String domainName; /** ** An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. *
*/ private java.util.List* 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 AWS Support Center to contact AWS 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 AWS 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 time when the SSL/TLS certificate was issued. *
*/ private java.util.Date issuedAt; /** ** The issuer of the certificate. *
*/ private String issuer; /** ** The algorithm used to generate the key pair (the public and private key). *
*/ private String keyAlgorithm; /** ** The timestamp when the SSL/TLS certificate expires. *
*/ private java.util.Date notAfter; /** ** The timestamp when the SSL/TLS certificate is first valid. *
*/ private java.util.Date notBefore; /** ** An object that describes the status of the certificate renewal managed by Lightsail. *
*/ private LoadBalancerTlsCertificateRenewalSummary renewalSummary; /** *
* The reason the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
* The timestamp when the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
* The serial number of the certificate. *
*/ private String serial; /** ** The algorithm that was used to sign the certificate. *
*/ private String signatureAlgorithm; /** ** The name of the entity that is associated with the public key contained in the certificate. *
*/ private String subject; /** *
* An array of strings that specify the alternate domains (e.g., example2.com
) and subdomains (e.g.,
* blog.example.com
) for the certificate.
*
* The name of the SSL/TLS certificate (e.g., my-certificate
).
*
my-certificate
).
*/
public void setName(String name) {
this.name = name;
}
/**
*
* The name of the SSL/TLS certificate (e.g., my-certificate
).
*
my-certificate
).
*/
public String getName() {
return this.name;
}
/**
*
* The name of the SSL/TLS certificate (e.g., my-certificate
).
*
my-certificate
).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LoadBalancerTlsCertificate withName(String name) {
setName(name);
return this;
}
/**
* * The Amazon Resource Name (ARN) of the SSL/TLS certificate. *
* * @param arn * The Amazon Resource Name (ARN) of the SSL/TLS certificate. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the SSL/TLS certificate. *
* * @return The Amazon Resource Name (ARN) of the SSL/TLS certificate. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the SSL/TLS certificate. *
* * @param arn * The Amazon Resource Name (ARN) of the SSL/TLS certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withArn(String arn) { setArn(arn); return this; } /** ** The support code. Include this code in your email to support when you have questions about your Lightsail load * balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more * easily. *
* * @param supportCode * The support code. Include this code in your email to support when you have questions about your Lightsail * load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail * information more easily. */ public void setSupportCode(String supportCode) { this.supportCode = supportCode; } /** ** The support code. Include this code in your email to support when you have questions about your Lightsail load * balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more * easily. *
* * @return The support code. Include this code in your email to support when you have questions about your Lightsail * load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail * information more easily. */ public String getSupportCode() { return this.supportCode; } /** ** The support code. Include this code in your email to support when you have questions about your Lightsail load * balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail information more * easily. *
* * @param supportCode * The support code. Include this code in your email to support when you have questions about your Lightsail * load balancer or SSL/TLS certificate. This code enables our support team to look up your Lightsail * information more easily. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withSupportCode(String supportCode) { setSupportCode(supportCode); return this; } /** ** The time when you created your SSL/TLS certificate. *
* * @param createdAt * The time when you created your SSL/TLS certificate. */ public void setCreatedAt(java.util.Date createdAt) { this.createdAt = createdAt; } /** ** The time when you created your SSL/TLS certificate. *
* * @return The time when you created your SSL/TLS certificate. */ public java.util.Date getCreatedAt() { return this.createdAt; } /** ** The time when you created your SSL/TLS certificate. *
* * @param createdAt * The time when you created your SSL/TLS certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withCreatedAt(java.util.Date createdAt) { setCreatedAt(createdAt); return this; } /** ** The Amazon Web Services Region and Availability Zone where you created your certificate. *
* * @param location * The Amazon Web Services Region and Availability Zone where you created your certificate. */ public void setLocation(ResourceLocation location) { this.location = location; } /** ** The Amazon Web Services Region and Availability Zone where you created your certificate. *
* * @return The Amazon Web Services Region and Availability Zone where you created your certificate. */ public ResourceLocation getLocation() { return this.location; } /** ** The Amazon Web Services Region and Availability Zone where you created your certificate. *
* * @param location * The Amazon Web Services Region and Availability Zone where you created your certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withLocation(ResourceLocation location) { setLocation(location); return this; } /** *
* The resource type (e.g., LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
* The resource type (e.g., LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail
* load balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
* The resource type (e.g., LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
* The resource type (e.g., LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
LoadBalancerTlsCertificate
).
*
* Instance
- A Lightsail instance (a virtual private server)
*
* StaticIp
- A static IP address
*
* KeyPair
- The key pair used to connect to a Lightsail instance
*
* InstanceSnapshot
- A Lightsail instance snapshot
*
* Domain
- A DNS zone
*
* PeeredVpc
- A peered VPC
*
* LoadBalancer
- A Lightsail load balancer
*
* LoadBalancerTlsCertificate
- An SSL/TLS certificate associated with a Lightsail load
* balancer
*
* Disk
- A Lightsail block storage disk
*
* DiskSnapshot
- A block storage disk snapshot
*
* The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer * Guide. *
* * @return The tag keys and optional values for the resource. For more information about tags in Lightsail, see the * Amazon Lightsail * Developer Guide. */ public java.util.List* The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer * Guide. *
* * @param 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 setTags(java.util.Collection* 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 * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the * Amazon Lightsail * Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer * Guide. *
* * @param tags * The tag keys and optional values for the resource. For more information about tags in Lightsail, see the * Amazon Lightsail * Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withTags(java.util.Collection* The load balancer name where your SSL/TLS certificate is attached. *
* * @param loadBalancerName * The load balancer name where your SSL/TLS certificate is attached. */ public void setLoadBalancerName(String loadBalancerName) { this.loadBalancerName = loadBalancerName; } /** ** The load balancer name where your SSL/TLS certificate is attached. *
* * @return The load balancer name where your SSL/TLS certificate is attached. */ public String getLoadBalancerName() { return this.loadBalancerName; } /** ** The load balancer name where your SSL/TLS certificate is attached. *
* * @param loadBalancerName * The load balancer name where your SSL/TLS certificate is attached. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withLoadBalancerName(String loadBalancerName) { setLoadBalancerName(loadBalancerName); return this; } /** *
* When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*
true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*/
public void setIsAttached(Boolean isAttached) {
this.isAttached = isAttached;
}
/**
*
* When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*
true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*/
public Boolean getIsAttached() {
return this.isAttached;
}
/**
*
* When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*
true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LoadBalancerTlsCertificate withIsAttached(Boolean isAttached) {
setIsAttached(isAttached);
return this;
}
/**
*
* When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*
true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
*/
public Boolean isAttached() {
return this.isAttached;
}
/**
* * The validation status of the SSL/TLS certificate. Valid values are below. *
* * @param status * The validation status of the SSL/TLS certificate. Valid values are below. * @see LoadBalancerTlsCertificateStatus */ public void setStatus(String status) { this.status = status; } /** ** The validation status of the SSL/TLS certificate. Valid values are below. *
* * @return The validation status of the SSL/TLS certificate. Valid values are below. * @see LoadBalancerTlsCertificateStatus */ public String getStatus() { return this.status; } /** ** The validation status of the SSL/TLS certificate. Valid values are below. *
* * @param status * The validation status of the SSL/TLS certificate. Valid values are below. * @return Returns a reference to this object so that method calls can be chained together. * @see LoadBalancerTlsCertificateStatus */ public LoadBalancerTlsCertificate withStatus(String status) { setStatus(status); return this; } /** ** The validation status of the SSL/TLS certificate. Valid values are below. *
* * @param status * The validation status of the SSL/TLS certificate. Valid values are below. * @return Returns a reference to this object so that method calls can be chained together. * @see LoadBalancerTlsCertificateStatus */ public LoadBalancerTlsCertificate withStatus(LoadBalancerTlsCertificateStatus status) { this.status = status.toString(); return this; } /** ** The domain name for your SSL/TLS certificate. *
* * @param domainName * The domain name for your SSL/TLS certificate. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The domain name for your SSL/TLS certificate. *
* * @return The domain name for your SSL/TLS certificate. */ public String getDomainName() { return this.domainName; } /** ** The domain name for your SSL/TLS certificate. *
* * @param domainName * The domain name for your SSL/TLS certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. *
* * @return An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. */ public java.util.List* An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. *
* * @param domainValidationRecords * An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. */ public void setDomainValidationRecords(java.util.Collection* An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setDomainValidationRecords(java.util.Collection)} or * {@link #withDomainValidationRecords(java.util.Collection)} if you want to override the existing values. *
* * @param domainValidationRecords * An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withDomainValidationRecords(LoadBalancerTlsCertificateDomainValidationRecord... domainValidationRecords) { if (this.domainValidationRecords == null) { setDomainValidationRecords(new java.util.ArrayList* An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. *
* * @param domainValidationRecords * An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withDomainValidationRecords(java.util.Collection* 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 AWS Support Center to contact AWS 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 AWS 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 AWS Support Center to contact AWS 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 AWS 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 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 AWS Support Center to contact AWS 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 AWS 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 AWS Support Center to contact AWS 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 AWS 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 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 AWS Support Center to contact AWS 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 AWS 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 AWS Support Center to contact AWS 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 AWS 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 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 AWS Support Center to contact AWS 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 AWS 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 AWS Support Center to contact AWS 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 AWS 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 time when the SSL/TLS certificate was issued. *
* * @param issuedAt * The time when the SSL/TLS certificate was issued. */ public void setIssuedAt(java.util.Date issuedAt) { this.issuedAt = issuedAt; } /** ** The time when the SSL/TLS certificate was issued. *
* * @return The time when the SSL/TLS certificate was issued. */ public java.util.Date getIssuedAt() { return this.issuedAt; } /** ** The time when the SSL/TLS certificate was issued. *
* * @param issuedAt * The time when the SSL/TLS certificate was issued. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withIssuedAt(java.util.Date issuedAt) { setIssuedAt(issuedAt); return this; } /** ** The issuer of the certificate. *
* * @param issuer * The issuer of the certificate. */ public void setIssuer(String issuer) { this.issuer = issuer; } /** ** The issuer of the certificate. *
* * @return The issuer of the certificate. */ public String getIssuer() { return this.issuer; } /** ** The issuer of the certificate. *
* * @param issuer * The issuer of the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withIssuer(String issuer) { setIssuer(issuer); return this; } /** ** The algorithm used to generate the key pair (the public and private key). *
* * @param keyAlgorithm * The algorithm used to generate the key pair (the public and private key). */ public void setKeyAlgorithm(String keyAlgorithm) { this.keyAlgorithm = keyAlgorithm; } /** ** The algorithm used to generate the key pair (the public and private key). *
* * @return The algorithm used to generate the key pair (the public and private key). */ public String getKeyAlgorithm() { return this.keyAlgorithm; } /** ** The algorithm used to generate the key pair (the public and private key). *
* * @param keyAlgorithm * The algorithm used to generate the key pair (the public and private key). * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withKeyAlgorithm(String keyAlgorithm) { setKeyAlgorithm(keyAlgorithm); return this; } /** ** The timestamp when the SSL/TLS certificate expires. *
* * @param notAfter * The timestamp when the SSL/TLS certificate expires. */ public void setNotAfter(java.util.Date notAfter) { this.notAfter = notAfter; } /** ** The timestamp when the SSL/TLS certificate expires. *
* * @return The timestamp when the SSL/TLS certificate expires. */ public java.util.Date getNotAfter() { return this.notAfter; } /** ** The timestamp when the SSL/TLS certificate expires. *
* * @param notAfter * The timestamp when the SSL/TLS certificate expires. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withNotAfter(java.util.Date notAfter) { setNotAfter(notAfter); return this; } /** ** The timestamp when the SSL/TLS certificate is first valid. *
* * @param notBefore * The timestamp when the SSL/TLS certificate is first valid. */ public void setNotBefore(java.util.Date notBefore) { this.notBefore = notBefore; } /** ** The timestamp when the SSL/TLS certificate is first valid. *
* * @return The timestamp when the SSL/TLS certificate is first valid. */ public java.util.Date getNotBefore() { return this.notBefore; } /** ** The timestamp when the SSL/TLS certificate is first valid. *
* * @param notBefore * The timestamp when the SSL/TLS certificate is first valid. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withNotBefore(java.util.Date notBefore) { setNotBefore(notBefore); return this; } /** ** An object that describes the status of the certificate renewal managed by Lightsail. *
* * @param renewalSummary * An object that describes the status of the certificate renewal managed by Lightsail. */ public void setRenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary) { this.renewalSummary = renewalSummary; } /** ** An object that describes the status of the certificate renewal managed by Lightsail. *
* * @return An object that describes the status of the certificate renewal managed by Lightsail. */ public LoadBalancerTlsCertificateRenewalSummary getRenewalSummary() { return this.renewalSummary; } /** ** An object that describes the status of the certificate renewal managed by Lightsail. *
* * @param renewalSummary * An object that describes the status of the certificate renewal managed by Lightsail. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withRenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary) { setRenewalSummary(renewalSummary); return this; } /** *
* The reason the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
* @see LoadBalancerTlsCertificateRevocationReason
*/
public void setRevocationReason(String revocationReason) {
this.revocationReason = revocationReason;
}
/**
*
* The reason the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
* @see LoadBalancerTlsCertificateRevocationReason
*/
public String getRevocationReason() {
return this.revocationReason;
}
/**
*
* The reason the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see LoadBalancerTlsCertificateRevocationReason
*/
public LoadBalancerTlsCertificate withRevocationReason(String revocationReason) {
setRevocationReason(revocationReason);
return this;
}
/**
*
* The reason the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
* @return Returns a reference to this object so that method calls can be chained together.
* @see LoadBalancerTlsCertificateRevocationReason
*/
public LoadBalancerTlsCertificate withRevocationReason(LoadBalancerTlsCertificateRevocationReason revocationReason) {
this.revocationReason = revocationReason.toString();
return this;
}
/**
*
* The timestamp when the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
*/
public void setRevokedAt(java.util.Date revokedAt) {
this.revokedAt = revokedAt;
}
/**
*
* The timestamp when the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
*/
public java.util.Date getRevokedAt() {
return this.revokedAt;
}
/**
*
* The timestamp when the certificate was revoked. This value is present only when the certificate status is
* REVOKED
.
*
REVOKED
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LoadBalancerTlsCertificate withRevokedAt(java.util.Date revokedAt) {
setRevokedAt(revokedAt);
return this;
}
/**
* * The serial number of the certificate. *
* * @param serial * The serial number of the certificate. */ public void setSerial(String serial) { this.serial = serial; } /** ** The serial number of the certificate. *
* * @return The serial number of the certificate. */ public String getSerial() { return this.serial; } /** ** The serial number of the certificate. *
* * @param serial * The serial number of the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withSerial(String serial) { setSerial(serial); return this; } /** ** The algorithm that was used to sign the certificate. *
* * @param signatureAlgorithm * The algorithm that was used to sign the certificate. */ public void setSignatureAlgorithm(String signatureAlgorithm) { this.signatureAlgorithm = signatureAlgorithm; } /** ** The algorithm that was used to sign the certificate. *
* * @return The algorithm that was used to sign the certificate. */ public String getSignatureAlgorithm() { return this.signatureAlgorithm; } /** ** The algorithm that was used to sign the certificate. *
* * @param signatureAlgorithm * The algorithm that was used to sign the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withSignatureAlgorithm(String signatureAlgorithm) { setSignatureAlgorithm(signatureAlgorithm); return this; } /** ** The name of the entity that is associated with the public key contained in the certificate. *
* * @param subject * The name of the entity that is associated with the public key contained in the certificate. */ public void setSubject(String subject) { this.subject = subject; } /** ** The name of the entity that is associated with the public key contained in the certificate. *
* * @return The name of the entity that is associated with the public key contained in the certificate. */ public String getSubject() { return this.subject; } /** ** The name of the entity that is associated with the public key contained in the certificate. *
* * @param subject * The name of the entity that is associated with the public key contained in the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerTlsCertificate withSubject(String subject) { setSubject(subject); return this; } /** *
* An array of strings that specify the alternate domains (e.g., example2.com
) and subdomains (e.g.,
* blog.example.com
) for the certificate.
*
example2.com
) and subdomains
* (e.g., blog.example.com
) for the certificate.
*/
public java.util.List
* An array of strings that specify the alternate domains (e.g., example2.com
) and subdomains (e.g.,
* blog.example.com
) for the certificate.
*
example2.com
) and subdomains
* (e.g., blog.example.com
) for the certificate.
*/
public void setSubjectAlternativeNames(java.util.Collection
* An array of strings that specify the alternate domains (e.g., example2.com
) and subdomains (e.g.,
* blog.example.com
) for the certificate.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSubjectAlternativeNames(java.util.Collection)} or * {@link #withSubjectAlternativeNames(java.util.Collection)} if you want to override the existing values. *
* * @param subjectAlternativeNames * An array of strings that specify the alternate domains (e.g.,example2.com
) and subdomains
* (e.g., blog.example.com
) for the certificate.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LoadBalancerTlsCertificate withSubjectAlternativeNames(String... subjectAlternativeNames) {
if (this.subjectAlternativeNames == null) {
setSubjectAlternativeNames(new java.util.ArrayList
* An array of strings that specify the alternate domains (e.g., example2.com
) and subdomains (e.g.,
* blog.example.com
) for the certificate.
*
example2.com
) and subdomains
* (e.g., blog.example.com
) for the certificate.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public LoadBalancerTlsCertificate withSubjectAlternativeNames(java.util.Collection