@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LoadBalancerTlsCertificate extends Object implements Serializable, Cloneable, StructuredPojo
Describes a load balancer SSL/TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
Constructor and Description |
---|
LoadBalancerTlsCertificate() |
Modifier and Type | Method and Description |
---|---|
LoadBalancerTlsCertificate |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
|
Date |
getCreatedAt()
The time when you created your SSL/TLS certificate.
|
String |
getDomainName()
The domain name for your SSL/TLS certificate.
|
List<LoadBalancerTlsCertificateDomainValidationRecord> |
getDomainValidationRecords()
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
|
String |
getFailureReason()
The reason for the SSL/TLS certificate validation failure.
|
Boolean |
getIsAttached()
When
true , the SSL/TLS certificate is attached to the Lightsail load balancer. |
Date |
getIssuedAt()
The time when the SSL/TLS certificate was issued.
|
String |
getIssuer()
The issuer of the certificate.
|
String |
getKeyAlgorithm()
The algorithm that was used to generate the key pair (the public and private key).
|
String |
getLoadBalancerName()
The load balancer name where your SSL/TLS certificate is attached.
|
ResourceLocation |
getLocation()
The AWS Region and Availability Zone where you created your certificate.
|
String |
getName()
The name of the SSL/TLS certificate (e.g.,
my-certificate ). |
Date |
getNotAfter()
The timestamp when the SSL/TLS certificate expires.
|
Date |
getNotBefore()
The timestamp when the SSL/TLS certificate is first valid.
|
LoadBalancerTlsCertificateRenewalSummary |
getRenewalSummary()
An object containing information about the status of Lightsail's managed renewal for the certificate.
|
String |
getResourceType()
The resource type (e.g.,
LoadBalancerTlsCertificate ). |
String |
getRevocationReason()
The reason the certificate was revoked.
|
Date |
getRevokedAt()
The timestamp when the SSL/TLS certificate was revoked.
|
String |
getSerial()
The serial number of the certificate.
|
String |
getSignatureAlgorithm()
The algorithm that was used to sign the certificate.
|
String |
getStatus()
The status of the SSL/TLS certificate.
|
String |
getSubject()
The name of the entity that is associated with the public key contained in the certificate.
|
List<String> |
getSubjectAlternativeNames()
One or more domains or subdomains included in the certificate.
|
String |
getSupportCode()
The support code.
|
List<Tag> |
getTags()
The tag keys and optional values for the resource.
|
int |
hashCode() |
Boolean |
isAttached()
When
true , the SSL/TLS certificate is attached to the Lightsail load balancer. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
|
void |
setCreatedAt(Date createdAt)
The time when you created your SSL/TLS certificate.
|
void |
setDomainName(String domainName)
The domain name for your SSL/TLS certificate.
|
void |
setDomainValidationRecords(Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
|
void |
setFailureReason(String failureReason)
The reason for the SSL/TLS certificate validation failure.
|
void |
setIsAttached(Boolean isAttached)
When
true , the SSL/TLS certificate is attached to the Lightsail load balancer. |
void |
setIssuedAt(Date issuedAt)
The time when the SSL/TLS certificate was issued.
|
void |
setIssuer(String issuer)
The issuer of the certificate.
|
void |
setKeyAlgorithm(String keyAlgorithm)
The algorithm that was used to generate the key pair (the public and private key).
|
void |
setLoadBalancerName(String loadBalancerName)
The load balancer name where your SSL/TLS certificate is attached.
|
void |
setLocation(ResourceLocation location)
The AWS Region and Availability Zone where you created your certificate.
|
void |
setName(String name)
The name of the SSL/TLS certificate (e.g.,
my-certificate ). |
void |
setNotAfter(Date notAfter)
The timestamp when the SSL/TLS certificate expires.
|
void |
setNotBefore(Date notBefore)
The timestamp when the SSL/TLS certificate is first valid.
|
void |
setRenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary)
An object containing information about the status of Lightsail's managed renewal for the certificate.
|
void |
setResourceType(String resourceType)
The resource type (e.g.,
LoadBalancerTlsCertificate ). |
void |
setRevocationReason(String revocationReason)
The reason the certificate was revoked.
|
void |
setRevokedAt(Date revokedAt)
The timestamp when the SSL/TLS certificate was revoked.
|
void |
setSerial(String serial)
The serial number of the certificate.
|
void |
setSignatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
|
void |
setStatus(String status)
The status of the SSL/TLS certificate.
|
void |
setSubject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
|
void |
setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domains or subdomains included in 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.
|
LoadBalancerTlsCertificate |
withArn(String arn)
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
|
LoadBalancerTlsCertificate |
withCreatedAt(Date createdAt)
The time when you created your SSL/TLS certificate.
|
LoadBalancerTlsCertificate |
withDomainName(String domainName)
The domain name for your SSL/TLS certificate.
|
LoadBalancerTlsCertificate |
withDomainValidationRecords(Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
|
LoadBalancerTlsCertificate |
withDomainValidationRecords(LoadBalancerTlsCertificateDomainValidationRecord... domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
|
LoadBalancerTlsCertificate |
withFailureReason(LoadBalancerTlsCertificateFailureReason failureReason)
The reason for the SSL/TLS certificate validation failure.
|
LoadBalancerTlsCertificate |
withFailureReason(String failureReason)
The reason for the SSL/TLS certificate validation failure.
|
LoadBalancerTlsCertificate |
withIsAttached(Boolean isAttached)
When
true , the SSL/TLS certificate is attached to the Lightsail load balancer. |
LoadBalancerTlsCertificate |
withIssuedAt(Date issuedAt)
The time when the SSL/TLS certificate was issued.
|
LoadBalancerTlsCertificate |
withIssuer(String issuer)
The issuer of the certificate.
|
LoadBalancerTlsCertificate |
withKeyAlgorithm(String keyAlgorithm)
The algorithm that was used to generate the key pair (the public and private key).
|
LoadBalancerTlsCertificate |
withLoadBalancerName(String loadBalancerName)
The load balancer name where your SSL/TLS certificate is attached.
|
LoadBalancerTlsCertificate |
withLocation(ResourceLocation location)
The AWS Region and Availability Zone where you created your certificate.
|
LoadBalancerTlsCertificate |
withName(String name)
The name of the SSL/TLS certificate (e.g.,
my-certificate ). |
LoadBalancerTlsCertificate |
withNotAfter(Date notAfter)
The timestamp when the SSL/TLS certificate expires.
|
LoadBalancerTlsCertificate |
withNotBefore(Date notBefore)
The timestamp when the SSL/TLS certificate is first valid.
|
LoadBalancerTlsCertificate |
withRenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary)
An object containing information about the status of Lightsail's managed renewal for the certificate.
|
LoadBalancerTlsCertificate |
withResourceType(ResourceType resourceType)
The resource type (e.g.,
LoadBalancerTlsCertificate ). |
LoadBalancerTlsCertificate |
withResourceType(String resourceType)
The resource type (e.g.,
LoadBalancerTlsCertificate ). |
LoadBalancerTlsCertificate |
withRevocationReason(LoadBalancerTlsCertificateRevocationReason revocationReason)
The reason the certificate was revoked.
|
LoadBalancerTlsCertificate |
withRevocationReason(String revocationReason)
The reason the certificate was revoked.
|
LoadBalancerTlsCertificate |
withRevokedAt(Date revokedAt)
The timestamp when the SSL/TLS certificate was revoked.
|
LoadBalancerTlsCertificate |
withSerial(String serial)
The serial number of the certificate.
|
LoadBalancerTlsCertificate |
withSignatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
|
LoadBalancerTlsCertificate |
withStatus(LoadBalancerTlsCertificateStatus status)
The status of the SSL/TLS certificate.
|
LoadBalancerTlsCertificate |
withStatus(String status)
The status of the SSL/TLS certificate.
|
LoadBalancerTlsCertificate |
withSubject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
|
LoadBalancerTlsCertificate |
withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domains or subdomains included in the certificate.
|
LoadBalancerTlsCertificate |
withSubjectAlternativeNames(String... subjectAlternativeNames)
One or more domains or subdomains included in the certificate.
|
LoadBalancerTlsCertificate |
withSupportCode(String supportCode)
The support code.
|
LoadBalancerTlsCertificate |
withTags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
LoadBalancerTlsCertificate |
withTags(Tag... tags)
The tag keys and optional values for the resource.
|
public void setName(String name)
The name of the SSL/TLS certificate (e.g., my-certificate
).
name
- The name of the SSL/TLS certificate (e.g., my-certificate
).public String getName()
The name of the SSL/TLS certificate (e.g., my-certificate
).
my-certificate
).public LoadBalancerTlsCertificate withName(String name)
The name of the SSL/TLS certificate (e.g., my-certificate
).
name
- The name of the SSL/TLS certificate (e.g., my-certificate
).public void setArn(String arn)
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
arn
- The Amazon Resource Name (ARN) of the SSL/TLS certificate.public String getArn()
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
public LoadBalancerTlsCertificate withArn(String arn)
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
arn
- The Amazon Resource Name (ARN) of the SSL/TLS certificate.public void setSupportCode(String 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.
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 String getSupportCode()
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 LoadBalancerTlsCertificate withSupportCode(String 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.
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 setCreatedAt(Date createdAt)
The time when you created your SSL/TLS certificate.
createdAt
- The time when you created your SSL/TLS certificate.public Date getCreatedAt()
The time when you created your SSL/TLS certificate.
public LoadBalancerTlsCertificate withCreatedAt(Date createdAt)
The time when you created your SSL/TLS certificate.
createdAt
- The time when you created your SSL/TLS certificate.public void setLocation(ResourceLocation location)
The AWS Region and Availability Zone where you created your certificate.
location
- The AWS Region and Availability Zone where you created your certificate.public ResourceLocation getLocation()
The AWS Region and Availability Zone where you created your certificate.
public LoadBalancerTlsCertificate withLocation(ResourceLocation location)
The AWS Region and Availability Zone where you created your certificate.
location
- The AWS Region and Availability Zone where you created your certificate.public void setResourceType(String resourceType)
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
resourceType
- 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
ResourceType
public String getResourceType()
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
ResourceType
public LoadBalancerTlsCertificate withResourceType(String resourceType)
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
resourceType
- 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
ResourceType
public LoadBalancerTlsCertificate withResourceType(ResourceType resourceType)
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
resourceType
- 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
ResourceType
public List<Tag> getTags()
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev 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 Lightsail Dev Guide.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the
Lightsail Dev
Guide.public LoadBalancerTlsCertificate withTags(Tag... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev 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
Lightsail Dev
Guide.public LoadBalancerTlsCertificate withTags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
tags
- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the
Lightsail Dev
Guide.public void setLoadBalancerName(String loadBalancerName)
The load balancer name where your SSL/TLS certificate is attached.
loadBalancerName
- The load balancer name where your SSL/TLS certificate is attached.public String getLoadBalancerName()
The load balancer name where your SSL/TLS certificate is attached.
public LoadBalancerTlsCertificate withLoadBalancerName(String loadBalancerName)
The load balancer name where your SSL/TLS certificate is attached.
loadBalancerName
- The load balancer name where your SSL/TLS certificate is attached.public void setIsAttached(Boolean isAttached)
When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
isAttached
- When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.public Boolean getIsAttached()
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 LoadBalancerTlsCertificate withIsAttached(Boolean isAttached)
When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.
isAttached
- When true
, the SSL/TLS certificate is attached to the Lightsail load balancer.public Boolean 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 void setStatus(String status)
The status of the SSL/TLS certificate. Valid values are below.
status
- The status of the SSL/TLS certificate. Valid values are below.LoadBalancerTlsCertificateStatus
public String getStatus()
The status of the SSL/TLS certificate. Valid values are below.
LoadBalancerTlsCertificateStatus
public LoadBalancerTlsCertificate withStatus(String status)
The status of the SSL/TLS certificate. Valid values are below.
status
- The status of the SSL/TLS certificate. Valid values are below.LoadBalancerTlsCertificateStatus
public LoadBalancerTlsCertificate withStatus(LoadBalancerTlsCertificateStatus status)
The status of the SSL/TLS certificate. Valid values are below.
status
- The status of the SSL/TLS certificate. Valid values are below.LoadBalancerTlsCertificateStatus
public void setDomainName(String domainName)
The domain name for your SSL/TLS certificate.
domainName
- The domain name for your SSL/TLS certificate.public String getDomainName()
The domain name for your SSL/TLS certificate.
public LoadBalancerTlsCertificate withDomainName(String domainName)
The domain name for your SSL/TLS certificate.
domainName
- The domain name for your SSL/TLS certificate.public List<LoadBalancerTlsCertificateDomainValidationRecord> getDomainValidationRecords()
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
public void setDomainValidationRecords(Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
domainValidationRecords
- An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.public LoadBalancerTlsCertificate withDomainValidationRecords(LoadBalancerTlsCertificateDomainValidationRecord... domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
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 LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.public LoadBalancerTlsCertificate withDomainValidationRecords(Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
domainValidationRecords
- An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.public void setFailureReason(String failureReason)
The reason for the SSL/TLS certificate validation failure.
failureReason
- The reason for the SSL/TLS certificate validation failure.LoadBalancerTlsCertificateFailureReason
public String getFailureReason()
The reason for the SSL/TLS certificate validation failure.
LoadBalancerTlsCertificateFailureReason
public LoadBalancerTlsCertificate withFailureReason(String failureReason)
The reason for the SSL/TLS certificate validation failure.
failureReason
- The reason for the SSL/TLS certificate validation failure.LoadBalancerTlsCertificateFailureReason
public LoadBalancerTlsCertificate withFailureReason(LoadBalancerTlsCertificateFailureReason failureReason)
The reason for the SSL/TLS certificate validation failure.
failureReason
- The reason for the SSL/TLS certificate validation failure.LoadBalancerTlsCertificateFailureReason
public void setIssuedAt(Date issuedAt)
The time when the SSL/TLS certificate was issued.
issuedAt
- The time when the SSL/TLS certificate was issued.public Date getIssuedAt()
The time when the SSL/TLS certificate was issued.
public LoadBalancerTlsCertificate withIssuedAt(Date issuedAt)
The time when the SSL/TLS certificate was issued.
issuedAt
- The time when the SSL/TLS certificate was issued.public void setIssuer(String issuer)
The issuer of the certificate.
issuer
- The issuer of the certificate.public String getIssuer()
The issuer of the certificate.
public LoadBalancerTlsCertificate withIssuer(String issuer)
The issuer of the certificate.
issuer
- The issuer of the certificate.public void setKeyAlgorithm(String keyAlgorithm)
The algorithm that was used to generate the key pair (the public and private key).
keyAlgorithm
- The algorithm that was used to generate the key pair (the public and private key).public String getKeyAlgorithm()
The algorithm that was used to generate the key pair (the public and private key).
public LoadBalancerTlsCertificate withKeyAlgorithm(String keyAlgorithm)
The algorithm that was used to generate the key pair (the public and private key).
keyAlgorithm
- The algorithm that was used to generate the key pair (the public and private key).public void setNotAfter(Date notAfter)
The timestamp when the SSL/TLS certificate expires.
notAfter
- The timestamp when the SSL/TLS certificate expires.public Date getNotAfter()
The timestamp when the SSL/TLS certificate expires.
public LoadBalancerTlsCertificate withNotAfter(Date notAfter)
The timestamp when the SSL/TLS certificate expires.
notAfter
- The timestamp when the SSL/TLS certificate expires.public void setNotBefore(Date notBefore)
The timestamp when the SSL/TLS certificate is first valid.
notBefore
- The timestamp when the SSL/TLS certificate is first valid.public Date getNotBefore()
The timestamp when the SSL/TLS certificate is first valid.
public LoadBalancerTlsCertificate withNotBefore(Date notBefore)
The timestamp when the SSL/TLS certificate is first valid.
notBefore
- The timestamp when the SSL/TLS certificate is first valid.public void setRenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary)
An object containing information about the status of Lightsail's managed renewal for the certificate.
renewalSummary
- An object containing information about the status of Lightsail's managed renewal for the certificate.public LoadBalancerTlsCertificateRenewalSummary getRenewalSummary()
An object containing information about the status of Lightsail's managed renewal for the certificate.
public LoadBalancerTlsCertificate withRenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary)
An object containing information about the status of Lightsail's managed renewal for the certificate.
renewalSummary
- An object containing information about the status of Lightsail's managed renewal for the certificate.public void setRevocationReason(String revocationReason)
The reason the certificate was revoked. Valid values are below.
revocationReason
- The reason the certificate was revoked. Valid values are below.LoadBalancerTlsCertificateRevocationReason
public String getRevocationReason()
The reason the certificate was revoked. Valid values are below.
LoadBalancerTlsCertificateRevocationReason
public LoadBalancerTlsCertificate withRevocationReason(String revocationReason)
The reason the certificate was revoked. Valid values are below.
revocationReason
- The reason the certificate was revoked. Valid values are below.LoadBalancerTlsCertificateRevocationReason
public LoadBalancerTlsCertificate withRevocationReason(LoadBalancerTlsCertificateRevocationReason revocationReason)
The reason the certificate was revoked. Valid values are below.
revocationReason
- The reason the certificate was revoked. Valid values are below.LoadBalancerTlsCertificateRevocationReason
public void setRevokedAt(Date revokedAt)
The timestamp when the SSL/TLS certificate was revoked.
revokedAt
- The timestamp when the SSL/TLS certificate was revoked.public Date getRevokedAt()
The timestamp when the SSL/TLS certificate was revoked.
public LoadBalancerTlsCertificate withRevokedAt(Date revokedAt)
The timestamp when the SSL/TLS certificate was revoked.
revokedAt
- The timestamp when the SSL/TLS certificate was revoked.public void setSerial(String serial)
The serial number of the certificate.
serial
- The serial number of the certificate.public String getSerial()
The serial number of the certificate.
public LoadBalancerTlsCertificate withSerial(String serial)
The serial number of the certificate.
serial
- The serial number of the certificate.public void setSignatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
signatureAlgorithm
- The algorithm that was used to sign the certificate.public String getSignatureAlgorithm()
The algorithm that was used to sign the certificate.
public LoadBalancerTlsCertificate withSignatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
signatureAlgorithm
- The algorithm that was used to sign the certificate.public void setSubject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
subject
- The name of the entity that is associated with the public key contained in the certificate.public String getSubject()
The name of the entity that is associated with the public key contained in the certificate.
public LoadBalancerTlsCertificate withSubject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
subject
- The name of the entity that is associated with the public key contained in the certificate.public List<String> getSubjectAlternativeNames()
One or more domains or subdomains included in the certificate. This list contains the domain names that are bound
to the public key that is contained in the certificate. The subject alternative names include the canonical
domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website,
such as example.com
, www.example.com
, or m.example.com
.
example.com
, www.example.com
, or
m.example.com
.public void setSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domains or subdomains included in the certificate. This list contains the domain names that are bound
to the public key that is contained in the certificate. The subject alternative names include the canonical
domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website,
such as example.com
, www.example.com
, or m.example.com
.
subjectAlternativeNames
- One or more domains or subdomains included in the certificate. This list contains the domain names that
are bound to the public key that is contained in the certificate. The subject alternative names include
the canonical domain name (CNAME) of the certificate and additional domain names that can be used to
connect to the website, such as example.com
, www.example.com
, or
m.example.com
.public LoadBalancerTlsCertificate withSubjectAlternativeNames(String... subjectAlternativeNames)
One or more domains or subdomains included in the certificate. This list contains the domain names that are bound
to the public key that is contained in the certificate. The subject alternative names include the canonical
domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website,
such as example.com
, www.example.com
, or m.example.com
.
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
- One or more domains or subdomains included in the certificate. This list contains the domain names that
are bound to the public key that is contained in the certificate. The subject alternative names include
the canonical domain name (CNAME) of the certificate and additional domain names that can be used to
connect to the website, such as example.com
, www.example.com
, or
m.example.com
.public LoadBalancerTlsCertificate withSubjectAlternativeNames(Collection<String> subjectAlternativeNames)
One or more domains or subdomains included in the certificate. This list contains the domain names that are bound
to the public key that is contained in the certificate. The subject alternative names include the canonical
domain name (CNAME) of the certificate and additional domain names that can be used to connect to the website,
such as example.com
, www.example.com
, or m.example.com
.
subjectAlternativeNames
- One or more domains or subdomains included in the certificate. This list contains the domain names that
are bound to the public key that is contained in the certificate. The subject alternative names include
the canonical domain name (CNAME) of the certificate and additional domain names that can be used to
connect to the website, such as example.com
, www.example.com
, or
m.example.com
.public String toString()
toString
in class Object
Object.toString()
public LoadBalancerTlsCertificate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.