@Generated(value="software.amazon.awssdk:codegen") public final class LoadBalancerTlsCertificate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LoadBalancerTlsCertificate.Builder,LoadBalancerTlsCertificate>
Describes a load balancer SSL/TLS certificate.
TLS is just an updated, more secure version of Secure Socket Layer (SSL).
Modifier and Type | Class and Description |
---|---|
static interface |
LoadBalancerTlsCertificate.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
|
static LoadBalancerTlsCertificate.Builder |
builder() |
Instant |
createdAt()
The time when you created your SSL/TLS certificate.
|
String |
domainName()
The domain name for your SSL/TLS certificate.
|
List<LoadBalancerTlsCertificateDomainValidationRecord> |
domainValidationRecords()
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
|
boolean |
equals(Object obj) |
LoadBalancerTlsCertificateFailureReason |
failureReason()
The reason for the SSL/TLS certificate validation failure.
|
String |
failureReasonAsString()
The reason for the SSL/TLS certificate validation failure.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isAttached()
When
true , the SSL/TLS certificate is attached to the Lightsail load balancer. |
Instant |
issuedAt()
The time when the SSL/TLS certificate was issued.
|
String |
issuer()
The issuer of the certificate.
|
String |
keyAlgorithm()
The algorithm that was used to generate the key pair (the public and private key).
|
String |
loadBalancerName()
The load balancer name where your SSL/TLS certificate is attached.
|
ResourceLocation |
location()
The AWS Region and Availability Zone where you created your certificate.
|
String |
name()
The name of the SSL/TLS certificate (e.g.,
my-certificate ). |
Instant |
notAfter()
The timestamp when the SSL/TLS certificate expires.
|
Instant |
notBefore()
The timestamp when the SSL/TLS certificate is first valid.
|
LoadBalancerTlsCertificateRenewalSummary |
renewalSummary()
An object containing information about the status of Lightsail's managed renewal for the certificate.
|
ResourceType |
resourceType()
The resource type (e.g.,
LoadBalancerTlsCertificate ). |
String |
resourceTypeAsString()
The resource type (e.g.,
LoadBalancerTlsCertificate ). |
LoadBalancerTlsCertificateRevocationReason |
revocationReason()
The reason the certificate was revoked.
|
String |
revocationReasonAsString()
The reason the certificate was revoked.
|
Instant |
revokedAt()
The timestamp when the SSL/TLS certificate was revoked.
|
List<SdkField<?>> |
sdkFields() |
String |
serial()
The serial number of the certificate.
|
static Class<? extends LoadBalancerTlsCertificate.Builder> |
serializableBuilderClass() |
String |
signatureAlgorithm()
The algorithm that was used to sign the certificate.
|
LoadBalancerTlsCertificateStatus |
status()
The status of the SSL/TLS certificate.
|
String |
statusAsString()
The status of the SSL/TLS certificate.
|
String |
subject()
The name of the entity that is associated with the public key contained in the certificate.
|
List<String> |
subjectAlternativeNames()
One or more domains or subdomains included in the certificate.
|
String |
supportCode()
The support code.
|
List<Tag> |
tags()
The tag keys and optional values for the resource.
|
LoadBalancerTlsCertificate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the SSL/TLS certificate (e.g., my-certificate
).
my-certificate
).public String arn()
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
public 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.
public Instant createdAt()
The time when you created your SSL/TLS certificate.
public ResourceLocation location()
The AWS Region and Availability Zone where you created your certificate.
public 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
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
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 resourceTypeAsString()
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
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
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> tags()
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String loadBalancerName()
The load balancer name where your SSL/TLS certificate is attached.
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 LoadBalancerTlsCertificateStatus status()
The status of the SSL/TLS certificate. Valid values are below.
If the service returns an enum value that is not available in the current SDK version, status
will
return LoadBalancerTlsCertificateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
LoadBalancerTlsCertificateStatus
public String statusAsString()
The status of the SSL/TLS certificate. Valid values are below.
If the service returns an enum value that is not available in the current SDK version, status
will
return LoadBalancerTlsCertificateStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
LoadBalancerTlsCertificateStatus
public String domainName()
The domain name for your SSL/TLS certificate.
public List<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords()
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public LoadBalancerTlsCertificateFailureReason failureReason()
The reason for the SSL/TLS certificate validation failure.
If the service returns an enum value that is not available in the current SDK version, failureReason
will return LoadBalancerTlsCertificateFailureReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from failureReasonAsString()
.
LoadBalancerTlsCertificateFailureReason
public String failureReasonAsString()
The reason for the SSL/TLS certificate validation failure.
If the service returns an enum value that is not available in the current SDK version, failureReason
will return LoadBalancerTlsCertificateFailureReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the
service is available from failureReasonAsString()
.
LoadBalancerTlsCertificateFailureReason
public Instant issuedAt()
The time when the SSL/TLS certificate was issued.
public String issuer()
The issuer of the certificate.
public String keyAlgorithm()
The algorithm that was used to generate the key pair (the public and private key).
public Instant notAfter()
The timestamp when the SSL/TLS certificate expires.
public Instant notBefore()
The timestamp when the SSL/TLS certificate is first valid.
public LoadBalancerTlsCertificateRenewalSummary renewalSummary()
An object containing information about the status of Lightsail's managed renewal for the certificate.
public LoadBalancerTlsCertificateRevocationReason revocationReason()
The reason the certificate was revoked. Valid values are below.
If the service returns an enum value that is not available in the current SDK version, revocationReason
will return LoadBalancerTlsCertificateRevocationReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by
the service is available from revocationReasonAsString()
.
LoadBalancerTlsCertificateRevocationReason
public String revocationReasonAsString()
The reason the certificate was revoked. Valid values are below.
If the service returns an enum value that is not available in the current SDK version, revocationReason
will return LoadBalancerTlsCertificateRevocationReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by
the service is available from revocationReasonAsString()
.
LoadBalancerTlsCertificateRevocationReason
public Instant revokedAt()
The timestamp when the SSL/TLS certificate was revoked.
public String serial()
The serial number of the certificate.
public String signatureAlgorithm()
The algorithm that was used to sign the certificate.
public String subject()
The name of the entity that is associated with the public key contained in the certificate.
public List<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
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
example.com
, www.example.com
, or
m.example.com
.public LoadBalancerTlsCertificate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LoadBalancerTlsCertificate.Builder,LoadBalancerTlsCertificate>
public static LoadBalancerTlsCertificate.Builder builder()
public static Class<? extends LoadBalancerTlsCertificate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.