public static interface CreateLoadBalancerRequest.Builder extends ElasticLoadBalancingRequest.Builder, CopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancerRequest.Builder |
availabilityZones(Collection<String> availabilityZones)
One or more Availability Zones from the same region as the load balancer.
|
CreateLoadBalancerRequest.Builder |
availabilityZones(String... availabilityZones)
One or more Availability Zones from the same region as the load balancer.
|
CreateLoadBalancerRequest.Builder |
listeners(Collection<Listener> listeners)
The listeners.
|
CreateLoadBalancerRequest.Builder |
listeners(Listener... listeners)
The listeners.
|
CreateLoadBalancerRequest.Builder |
loadBalancerName(String loadBalancerName)
The name of the load balancer.
|
CreateLoadBalancerRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateLoadBalancerRequest.Builder |
scheme(String scheme)
The type of a load balancer.
|
CreateLoadBalancerRequest.Builder |
securityGroups(Collection<String> securityGroups)
The IDs of the security groups to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
securityGroups(String... securityGroups)
The IDs of the security groups to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
subnets(Collection<String> subnets)
The IDs of the subnets in your VPC to attach to the load balancer.
|
CreateLoadBalancerRequest.Builder |
subnets(String... subnets)
The IDs of the subnets in your VPC to attach to the load balancer.
|
CreateLoadBalancerRequest.Builder |
tags(Collection<Tag> tags)
A list of tags to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
tags(Tag... tags)
A list of tags to assign to the load balancer.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateLoadBalancerRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.
loadBalancerName
- The name of the load balancer.
This name must be unique within your set of load balancers for the region, must have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and cannot begin or end with a hyphen.
CreateLoadBalancerRequest.Builder listeners(Collection<Listener> listeners)
The listeners.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide.
listeners
- The listeners.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide.
CreateLoadBalancerRequest.Builder listeners(Listener... listeners)
The listeners.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide.
listeners
- The listeners.
For more information, see Listeners for Your Classic Load Balancer in the Classic Load Balancer Guide.
CreateLoadBalancerRequest.Builder availabilityZones(Collection<String> availabilityZones)
One or more Availability Zones from the same region as the load balancer.
You must specify at least one Availability Zone.
You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
availabilityZones
- One or more Availability Zones from the same region as the load balancer.
You must specify at least one Availability Zone.
You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
CreateLoadBalancerRequest.Builder availabilityZones(String... availabilityZones)
One or more Availability Zones from the same region as the load balancer.
You must specify at least one Availability Zone.
You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
availabilityZones
- One or more Availability Zones from the same region as the load balancer.
You must specify at least one Availability Zone.
You can add more Availability Zones after you create the load balancer using EnableAvailabilityZonesForLoadBalancer.
CreateLoadBalancerRequest.Builder subnets(Collection<String> subnets)
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone
specified in AvailabilityZones
.
subnets
- The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability
Zone specified in AvailabilityZones
.CreateLoadBalancerRequest.Builder subnets(String... subnets)
The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability Zone
specified in AvailabilityZones
.
subnets
- The IDs of the subnets in your VPC to attach to the load balancer. Specify one subnet per Availability
Zone specified in AvailabilityZones
.CreateLoadBalancerRequest.Builder securityGroups(Collection<String> securityGroups)
The IDs of the security groups to assign to the load balancer.
securityGroups
- The IDs of the security groups to assign to the load balancer.CreateLoadBalancerRequest.Builder securityGroups(String... securityGroups)
The IDs of the security groups to assign to the load balancer.
securityGroups
- The IDs of the security groups to assign to the load balancer.CreateLoadBalancerRequest.Builder scheme(String scheme)
The type of a load balancer. Valid only for load balancers in a VPC.
By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide.
Specify internal
to create a load balancer with a DNS name that resolves to private IP
addresses.
scheme
- The type of a load balancer. Valid only for load balancers in a VPC.
By default, Elastic Load Balancing creates an Internet-facing load balancer with a DNS name that resolves to public IP addresses. For more information about Internet-facing and Internal load balancers, see Load Balancer Scheme in the Elastic Load Balancing User Guide.
Specify internal
to create a load balancer with a DNS name that resolves to private IP
addresses.
CreateLoadBalancerRequest.Builder tags(Collection<Tag> tags)
A list of tags to assign to the load balancer.
For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide.
tags
- A list of tags to assign to the load balancer.
For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide.
CreateLoadBalancerRequest.Builder tags(Tag... tags)
A list of tags to assign to the load balancer.
For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide.
tags
- A list of tags to assign to the load balancer.
For more information about tagging your load balancer, see Tag Your Classic Load Balancer in the Classic Load Balancer Guide.
CreateLoadBalancerRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.