public static interface CreateLoadBalancerRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancerRequest.Builder |
certificateAlternativeNames(Collection<String> certificateAlternativeNames)
The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g.,
www.example.com , example.com , m.example.com ,
blog.example.com ). |
CreateLoadBalancerRequest.Builder |
certificateAlternativeNames(String... certificateAlternativeNames)
The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g.,
www.example.com , example.com , m.example.com ,
blog.example.com ). |
CreateLoadBalancerRequest.Builder |
certificateDomainName(String certificateDomainName)
The domain name with which your certificate is associated (e.g.,
example.com ). |
CreateLoadBalancerRequest.Builder |
certificateName(String certificateName)
The name of the SSL/TLS certificate.
|
CreateLoadBalancerRequest.Builder |
healthCheckPath(String healthCheckPath)
The path you provided to perform the load balancer health check.
|
CreateLoadBalancerRequest.Builder |
instancePort(Integer instancePort)
The instance port where you're creating your load balancer.
|
CreateLoadBalancerRequest.Builder |
loadBalancerName(String loadBalancerName)
The name of your load balancer.
|
CreateLoadBalancerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateLoadBalancerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateLoadBalancerRequest.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateLoadBalancerRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
|
CreateLoadBalancerRequest.Builder |
tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
build
overrideConfiguration
copy
applyMutation, build
CreateLoadBalancerRequest.Builder loadBalancerName(String loadBalancerName)
The name of your load balancer.
loadBalancerName
- The name of your load balancer.CreateLoadBalancerRequest.Builder instancePort(Integer instancePort)
The instance port where you're creating your load balancer.
instancePort
- The instance port where you're creating your load balancer.CreateLoadBalancerRequest.Builder healthCheckPath(String healthCheckPath)
The path you provided to perform the load balancer health check. If you didn't specify a health check path,
Lightsail uses the root path of your website (e.g., "/"
).
You may want to specify a custom health check path other than the root of your application if your home page loads slowly or has a lot of media or scripting on it.
healthCheckPath
- The path you provided to perform the load balancer health check. If you didn't specify a health check
path, Lightsail uses the root path of your website (e.g., "/"
).
You may want to specify a custom health check path other than the root of your application if your home page loads slowly or has a lot of media or scripting on it.
CreateLoadBalancerRequest.Builder certificateName(String certificateName)
The name of the SSL/TLS certificate.
If you specify certificateName
, then certificateDomainName
is required (and
vice-versa).
certificateName
- The name of the SSL/TLS certificate.
If you specify certificateName
, then certificateDomainName
is required (and
vice-versa).
CreateLoadBalancerRequest.Builder certificateDomainName(String certificateDomainName)
The domain name with which your certificate is associated (e.g., example.com
).
If you specify certificateDomainName
, then certificateName
is required (and
vice-versa).
certificateDomainName
- The domain name with which your certificate is associated (e.g., example.com
).
If you specify certificateDomainName
, then certificateName
is required (and
vice-versa).
CreateLoadBalancerRequest.Builder certificateAlternativeNames(Collection<String> certificateAlternativeNames)
The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g.,
www.example.com
, example.com
, m.example.com
,
blog.example.com
).
certificateAlternativeNames
- The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g.,
www.example.com
, example.com
, m.example.com
,
blog.example.com
).CreateLoadBalancerRequest.Builder certificateAlternativeNames(String... certificateAlternativeNames)
The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g.,
www.example.com
, example.com
, m.example.com
,
blog.example.com
).
certificateAlternativeNames
- The optional alternative domains and subdomains to use with your SSL/TLS certificate (e.g.,
www.example.com
, example.com
, m.example.com
,
blog.example.com
).CreateLoadBalancerRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
tags
- The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
CreateLoadBalancerRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
tags
- The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
CreateLoadBalancerRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource
operation.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateLoadBalancerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateLoadBalancerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.