Interface LoadBalancerTlsCertificate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LoadBalancerTlsCertificate.Builder,LoadBalancerTlsCertificate>,SdkBuilder<LoadBalancerTlsCertificate.Builder,LoadBalancerTlsCertificate>,SdkPojo
- Enclosing class:
- LoadBalancerTlsCertificate
public static interface LoadBalancerTlsCertificate.Builder extends SdkPojo, CopyableBuilder<LoadBalancerTlsCertificate.Builder,LoadBalancerTlsCertificate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LoadBalancerTlsCertificate.Builderarn(String arn)The Amazon Resource Name (ARN) of the SSL/TLS certificate.LoadBalancerTlsCertificate.BuildercreatedAt(Instant createdAt)The time when you created your SSL/TLS certificate.LoadBalancerTlsCertificate.BuilderdomainName(String domainName)The domain name for your SSL/TLS certificate.LoadBalancerTlsCertificate.BuilderdomainValidationRecords(Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords)An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.LoadBalancerTlsCertificate.BuilderdomainValidationRecords(Consumer<LoadBalancerTlsCertificateDomainValidationRecord.Builder>... domainValidationRecords)An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.LoadBalancerTlsCertificate.BuilderdomainValidationRecords(LoadBalancerTlsCertificateDomainValidationRecord... domainValidationRecords)An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.LoadBalancerTlsCertificate.BuilderfailureReason(String failureReason)The validation failure reason, if any, of the certificate.LoadBalancerTlsCertificate.BuilderfailureReason(LoadBalancerTlsCertificateFailureReason failureReason)The validation failure reason, if any, of the certificate.LoadBalancerTlsCertificate.BuilderisAttached(Boolean isAttached)Whentrue, the SSL/TLS certificate is attached to the Lightsail load balancer.LoadBalancerTlsCertificate.BuilderissuedAt(Instant issuedAt)The time when the SSL/TLS certificate was issued.LoadBalancerTlsCertificate.Builderissuer(String issuer)The issuer of the certificate.LoadBalancerTlsCertificate.BuilderkeyAlgorithm(String keyAlgorithm)The algorithm used to generate the key pair (the public and private key).LoadBalancerTlsCertificate.BuilderloadBalancerName(String loadBalancerName)The load balancer name where your SSL/TLS certificate is attached.default LoadBalancerTlsCertificate.Builderlocation(Consumer<ResourceLocation.Builder> location)The Amazon Web Services Region and Availability Zone where you created your certificate.LoadBalancerTlsCertificate.Builderlocation(ResourceLocation location)The Amazon Web Services Region and Availability Zone where you created your certificate.LoadBalancerTlsCertificate.Buildername(String name)The name of the SSL/TLS certificate (my-certificate).LoadBalancerTlsCertificate.BuildernotAfter(Instant notAfter)The timestamp when the SSL/TLS certificate expires.LoadBalancerTlsCertificate.BuildernotBefore(Instant notBefore)The timestamp when the SSL/TLS certificate is first valid.default LoadBalancerTlsCertificate.BuilderrenewalSummary(Consumer<LoadBalancerTlsCertificateRenewalSummary.Builder> renewalSummary)An object that describes the status of the certificate renewal managed by Lightsail.LoadBalancerTlsCertificate.BuilderrenewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary)An object that describes the status of the certificate renewal managed by Lightsail.LoadBalancerTlsCertificate.BuilderresourceType(String resourceType)The resource type (LoadBalancerTlsCertificate).LoadBalancerTlsCertificate.BuilderresourceType(ResourceType resourceType)The resource type (LoadBalancerTlsCertificate).LoadBalancerTlsCertificate.BuilderrevocationReason(String revocationReason)The reason the certificate was revoked.LoadBalancerTlsCertificate.BuilderrevocationReason(LoadBalancerTlsCertificateRevocationReason revocationReason)The reason the certificate was revoked.LoadBalancerTlsCertificate.BuilderrevokedAt(Instant revokedAt)The timestamp when the certificate was revoked.LoadBalancerTlsCertificate.Builderserial(String serial)The serial number of the certificate.LoadBalancerTlsCertificate.BuildersignatureAlgorithm(String signatureAlgorithm)The algorithm that was used to sign the certificate.LoadBalancerTlsCertificate.Builderstatus(String status)The validation status of the SSL/TLS certificate.LoadBalancerTlsCertificate.Builderstatus(LoadBalancerTlsCertificateStatus status)The validation status of the SSL/TLS certificate.LoadBalancerTlsCertificate.Buildersubject(String subject)The name of the entity that is associated with the public key contained in the certificate.LoadBalancerTlsCertificate.BuildersubjectAlternativeNames(String... subjectAlternativeNames)An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate.LoadBalancerTlsCertificate.BuildersubjectAlternativeNames(Collection<String> subjectAlternativeNames)An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate.LoadBalancerTlsCertificate.BuildersupportCode(String supportCode)The support code.LoadBalancerTlsCertificate.Buildertags(Collection<Tag> tags)The tag keys and optional values for the resource.LoadBalancerTlsCertificate.Buildertags(Consumer<Tag.Builder>... tags)The tag keys and optional values for the resource.LoadBalancerTlsCertificate.Buildertags(Tag... tags)The tag keys and optional values for the resource.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
LoadBalancerTlsCertificate.Builder name(String name)
The name of the SSL/TLS certificate (
my-certificate).- Parameters:
name- The name of the SSL/TLS certificate (my-certificate).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
LoadBalancerTlsCertificate.Builder arn(String arn)
The Amazon Resource Name (ARN) of the SSL/TLS certificate.
- Parameters:
arn- The Amazon Resource Name (ARN) of the SSL/TLS certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
supportCode
LoadBalancerTlsCertificate.Builder supportCode(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
LoadBalancerTlsCertificate.Builder createdAt(Instant createdAt)
The time when you created your SSL/TLS certificate.
- Parameters:
createdAt- The time when you created your SSL/TLS certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
LoadBalancerTlsCertificate.Builder location(ResourceLocation location)
The Amazon Web Services Region and Availability Zone where you created your certificate.
- Parameters:
location- The Amazon Web Services Region and Availability Zone where you created your certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default LoadBalancerTlsCertificate.Builder location(Consumer<ResourceLocation.Builder> location)
The Amazon Web Services Region and Availability Zone where you created your certificate.
This is a convenience method that creates an instance of theResourceLocation.Builderavoiding the need to create one manually viaResourceLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(ResourceLocation).- Parameters:
location- a consumer that will call methods onResourceLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
location(ResourceLocation)
-
resourceType
LoadBalancerTlsCertificate.Builder resourceType(String resourceType)
The resource type (
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
- Parameters:
resourceType- The resource type (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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
-
resourceType
LoadBalancerTlsCertificate.Builder resourceType(ResourceType resourceType)
The resource type (
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
- Parameters:
resourceType- The resource type (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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
-
tags
LoadBalancerTlsCertificate.Builder tags(Collection<Tag> tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
- Parameters:
tags- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LoadBalancerTlsCertificate.Builder tags(Tag... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
- Parameters:
tags- The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LoadBalancerTlsCertificate.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
loadBalancerName
LoadBalancerTlsCertificate.Builder loadBalancerName(String loadBalancerName)
The load balancer name where your SSL/TLS certificate is attached.
- Parameters:
loadBalancerName- The load balancer name where your SSL/TLS certificate is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isAttached
LoadBalancerTlsCertificate.Builder isAttached(Boolean isAttached)
When
true, the SSL/TLS certificate is attached to the Lightsail load balancer.- Parameters:
isAttached- Whentrue, the SSL/TLS certificate is attached to the Lightsail load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
LoadBalancerTlsCertificate.Builder status(String status)
The validation status of the SSL/TLS certificate. Valid values are below.
- Parameters:
status- The validation status of the SSL/TLS certificate. Valid values are below.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoadBalancerTlsCertificateStatus,LoadBalancerTlsCertificateStatus
-
status
LoadBalancerTlsCertificate.Builder status(LoadBalancerTlsCertificateStatus status)
The validation status of the SSL/TLS certificate. Valid values are below.
- Parameters:
status- The validation status of the SSL/TLS certificate. Valid values are below.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoadBalancerTlsCertificateStatus,LoadBalancerTlsCertificateStatus
-
domainName
LoadBalancerTlsCertificate.Builder domainName(String domainName)
The domain name for your SSL/TLS certificate.
- Parameters:
domainName- The domain name for your SSL/TLS certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainValidationRecords
LoadBalancerTlsCertificate.Builder domainValidationRecords(Collection<LoadBalancerTlsCertificateDomainValidationRecord> domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
- Parameters:
domainValidationRecords- An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainValidationRecords
LoadBalancerTlsCertificate.Builder domainValidationRecords(LoadBalancerTlsCertificateDomainValidationRecord... domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
- Parameters:
domainValidationRecords- An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainValidationRecords
LoadBalancerTlsCertificate.Builder domainValidationRecords(Consumer<LoadBalancerTlsCertificateDomainValidationRecord.Builder>... domainValidationRecords)
An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing the records.
This is a convenience method that creates an instance of theLoadBalancerTlsCertificateDomainValidationRecord.Builderavoiding the need to create one manually viaLoadBalancerTlsCertificateDomainValidationRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#domainValidationRecords(List.) - Parameters:
domainValidationRecords- a consumer that will call methods onLoadBalancerTlsCertificateDomainValidationRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#domainValidationRecords(java.util.Collection)
-
failureReason
LoadBalancerTlsCertificate.Builder failureReason(String failureReason)
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 forexample.invalidpublicdomainbecauseinvalidpublicdomainis 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.
- Parameters:
failureReason- 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 forexample.invalidpublicdomainbecauseinvalidpublicdomainis 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoadBalancerTlsCertificateFailureReason,LoadBalancerTlsCertificateFailureReason
-
-
failureReason
LoadBalancerTlsCertificate.Builder failureReason(LoadBalancerTlsCertificateFailureReason failureReason)
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 forexample.invalidpublicdomainbecauseinvalidpublicdomainis 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.
- Parameters:
failureReason- 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 forexample.invalidpublicdomainbecauseinvalidpublicdomainis 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoadBalancerTlsCertificateFailureReason,LoadBalancerTlsCertificateFailureReason
-
-
issuedAt
LoadBalancerTlsCertificate.Builder issuedAt(Instant issuedAt)
The time when the SSL/TLS certificate was issued.
- Parameters:
issuedAt- The time when the SSL/TLS certificate was issued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
issuer
LoadBalancerTlsCertificate.Builder issuer(String issuer)
The issuer of the certificate.
- Parameters:
issuer- The issuer of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAlgorithm
LoadBalancerTlsCertificate.Builder keyAlgorithm(String keyAlgorithm)
The algorithm used to generate the key pair (the public and private key).
- Parameters:
keyAlgorithm- The algorithm used to generate the key pair (the public and private key).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAfter
LoadBalancerTlsCertificate.Builder notAfter(Instant notAfter)
The timestamp when the SSL/TLS certificate expires.
- Parameters:
notAfter- The timestamp when the SSL/TLS certificate expires.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notBefore
LoadBalancerTlsCertificate.Builder notBefore(Instant notBefore)
The timestamp when the SSL/TLS certificate is first valid.
- Parameters:
notBefore- The timestamp when the SSL/TLS certificate is first valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renewalSummary
LoadBalancerTlsCertificate.Builder renewalSummary(LoadBalancerTlsCertificateRenewalSummary renewalSummary)
An object that describes the status of the certificate renewal managed by Lightsail.
- Parameters:
renewalSummary- An object that describes the status of the certificate renewal managed by Lightsail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
renewalSummary
default LoadBalancerTlsCertificate.Builder renewalSummary(Consumer<LoadBalancerTlsCertificateRenewalSummary.Builder> renewalSummary)
An object that describes the status of the certificate renewal managed by Lightsail.
This is a convenience method that creates an instance of theLoadBalancerTlsCertificateRenewalSummary.Builderavoiding the need to create one manually viaLoadBalancerTlsCertificateRenewalSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torenewalSummary(LoadBalancerTlsCertificateRenewalSummary).- Parameters:
renewalSummary- a consumer that will call methods onLoadBalancerTlsCertificateRenewalSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
renewalSummary(LoadBalancerTlsCertificateRenewalSummary)
-
revocationReason
LoadBalancerTlsCertificate.Builder revocationReason(String revocationReason)
The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED.- Parameters:
revocationReason- The reason the certificate was revoked. This value is present only when the certificate status isREVOKED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoadBalancerTlsCertificateRevocationReason,LoadBalancerTlsCertificateRevocationReason
-
revocationReason
LoadBalancerTlsCertificate.Builder revocationReason(LoadBalancerTlsCertificateRevocationReason revocationReason)
The reason the certificate was revoked. This value is present only when the certificate status is
REVOKED.- Parameters:
revocationReason- The reason the certificate was revoked. This value is present only when the certificate status isREVOKED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LoadBalancerTlsCertificateRevocationReason,LoadBalancerTlsCertificateRevocationReason
-
revokedAt
LoadBalancerTlsCertificate.Builder revokedAt(Instant revokedAt)
The timestamp when the certificate was revoked. This value is present only when the certificate status is
REVOKED.- Parameters:
revokedAt- The timestamp when the certificate was revoked. This value is present only when the certificate status isREVOKED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serial
LoadBalancerTlsCertificate.Builder serial(String serial)
The serial number of the certificate.
- Parameters:
serial- The serial number of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signatureAlgorithm
LoadBalancerTlsCertificate.Builder signatureAlgorithm(String signatureAlgorithm)
The algorithm that was used to sign the certificate.
- Parameters:
signatureAlgorithm- The algorithm that was used to sign the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
LoadBalancerTlsCertificate.Builder subject(String subject)
The name of the entity that is associated with the public key contained in the certificate.
- Parameters:
subject- The name of the entity that is associated with the public key contained in the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectAlternativeNames
LoadBalancerTlsCertificate.Builder subjectAlternativeNames(Collection<String> subjectAlternativeNames)
An array of strings that specify the alternate domains (
example2.com) and subdomains (blog.example.com) for the certificate.- Parameters:
subjectAlternativeNames- An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectAlternativeNames
LoadBalancerTlsCertificate.Builder subjectAlternativeNames(String... subjectAlternativeNames)
An array of strings that specify the alternate domains (
example2.com) and subdomains (blog.example.com) for the certificate.- Parameters:
subjectAlternativeNames- An array of strings that specify the alternate domains (example2.com) and subdomains (blog.example.com) for the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-