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 |
ipAddressType(IpAddressType ipAddressType)
The IP address type for the load balancer.
|
CreateLoadBalancerRequest.Builder |
ipAddressType(String ipAddressType)
The IP address type for the load balancer.
|
CreateLoadBalancerRequest.Builder |
loadBalancerName(String loadBalancerName)
The name of your load balancer.
|
CreateLoadBalancerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLoadBalancerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
CreateLoadBalancerRequest.Builder |
tlsPolicyName(String tlsPolicyName)
The name of the TLS policy to apply to the load balancer.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLoadBalancerRequest.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.
Use the TagResource action to tag a resource after it's created.
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.
CreateLoadBalancerRequest.Builder tags(Tag... 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.
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.
CreateLoadBalancerRequest.Builder tags(Consumer<Tag.Builder>... 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.
Tag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateLoadBalancerRequest.Builder ipAddressType(String ipAddressType)
The IP address type for the load balancer.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
ipAddressType - The IP address type for the load balancer.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
IpAddressType,
IpAddressTypeCreateLoadBalancerRequest.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type for the load balancer.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
ipAddressType - The IP address type for the load balancer.
The possible values are ipv4 for IPv4 only, and dualstack for IPv4 and IPv6.
The default value is dualstack.
IpAddressType,
IpAddressTypeCreateLoadBalancerRequest.Builder tlsPolicyName(String tlsPolicyName)
The name of the TLS policy to apply to the load balancer.
Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.
For more information about load balancer TLS policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
tlsPolicyName - The name of the TLS policy to apply to the load balancer.
Use the GetLoadBalancerTlsPolicies action to get a list of TLS policy names that you can specify.
For more information about load balancer TLS policies, see Configuring TLS security policies on your Amazon Lightsail load balancers in the Amazon Lightsail Developer Guide.
CreateLoadBalancerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLoadBalancerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.