Interface CreateLoadBalancerTlsCertificateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLoadBalancerTlsCertificateRequest.Builder,
,CreateLoadBalancerTlsCertificateRequest> LightsailRequest.Builder
,SdkBuilder<CreateLoadBalancerTlsCertificateRequest.Builder,
,CreateLoadBalancerTlsCertificateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLoadBalancerTlsCertificateRequest
-
Method Summary
Modifier and TypeMethodDescriptioncertificateAlternativeNames
(String... certificateAlternativeNames) An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.certificateAlternativeNames
(Collection<String> certificateAlternativeNames) An array of strings listing alternative domains and subdomains for your SSL/TLS certificate.certificateDomainName
(String certificateDomainName) The domain name (example.com
) for your SSL/TLS certificate.certificateName
(String certificateName) The SSL/TLS certificate name.loadBalancerName
(String loadBalancerName) The load balancer name where you want to create the SSL/TLS certificate.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) The tag keys and optional values to add to the resource during create.tags
(Consumer<Tag.Builder>... tags) The tag keys and optional values to add to the resource during create.The tag keys and optional values to add to the resource during create.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
loadBalancerName
The load balancer name where you want to create the SSL/TLS certificate.
- Parameters:
loadBalancerName
- The load balancer name where you want to create the SSL/TLS certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateName
The SSL/TLS certificate name.
You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
- Parameters:
certificateName
- The SSL/TLS certificate name.You can have up to 10 certificates in your account at one time. Each Lightsail load balancer can have up to 2 certificates associated with it at one time. There is also an overall limit to the number of certificates that can be issue in a 365-day period. For more information, see Limits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateDomainName
The domain name (
example.com
) for your SSL/TLS certificate.- Parameters:
certificateDomainName
- The domain name (example.com
) for your SSL/TLS certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest.Builder certificateAlternativeNames(Collection<String> certificateAlternativeNames) An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (
*.example.com
).- Parameters:
certificateAlternativeNames
- An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAlternativeNames
CreateLoadBalancerTlsCertificateRequest.Builder certificateAlternativeNames(String... certificateAlternativeNames) An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (
*.example.com
).- Parameters:
certificateAlternativeNames
- An array of strings listing alternative domains and subdomains for your SSL/TLS certificate. Lightsail will de-dupe the names for you. You can have a maximum of 9 alternative names (in addition to the 1 primary domain). We do not support wildcards (*.example.com
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag keys and optional values to add to the resource during create.
Use the
TagResource
action to tag a resource after it's created.- Parameters:
tags
- The tag keys and optional values to add to the resource during create.Use the
TagResource
action to tag a resource after it's created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag keys and optional values to add to the resource during create.
Use the
TagResource
action to tag a resource after it's created.- Parameters:
tags
- The tag keys and optional values to add to the resource during create.Use the
TagResource
action to tag a resource after it's created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tag keys and optional values to add to the resource during create.
Use the
This is a convenience method that creates an instance of theTagResource
action to tag a resource after it's created.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
overrideConfiguration
CreateLoadBalancerTlsCertificateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLoadBalancerTlsCertificateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-