public static interface LoadBalancer.Builder extends CopyableBuilder<LoadBalancer.Builder,LoadBalancer>
Modifier and Type | Method and Description |
---|---|
LoadBalancer.Builder |
availabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancer.Builder |
availabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancer.Builder |
availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones)
The Availability Zones for the load balancer.
|
LoadBalancer.Builder |
canonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
|
LoadBalancer.Builder |
createdTime(Instant createdTime)
The date and time the load balancer was created.
|
LoadBalancer.Builder |
dnsName(String dnsName)
The public DNS name of the load balancer.
|
LoadBalancer.Builder |
ipAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
LoadBalancer.Builder |
ipAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
LoadBalancer.Builder |
loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
LoadBalancer.Builder |
loadBalancerName(String loadBalancerName)
The name of the load balancer.
|
LoadBalancer.Builder |
scheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
LoadBalancer.Builder |
scheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
LoadBalancer.Builder |
securityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
|
LoadBalancer.Builder |
securityGroups(String... securityGroups)
The IDs of the security groups for the load balancer.
|
default LoadBalancer.Builder |
state(Consumer<LoadBalancerState.Builder> state)
The state of the load balancer.
|
LoadBalancer.Builder |
state(LoadBalancerState state)
The state of the load balancer.
|
LoadBalancer.Builder |
type(LoadBalancerTypeEnum type)
The type of load balancer.
|
LoadBalancer.Builder |
type(String type)
The type of load balancer.
|
LoadBalancer.Builder |
vpcId(String vpcId)
The ID of the VPC for the load balancer.
|
copy
applyMutation, build
LoadBalancer.Builder loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.LoadBalancer.Builder dnsName(String dnsName)
The public DNS name of the load balancer.
dnsName
- The public DNS name of the load balancer.LoadBalancer.Builder canonicalHostedZoneId(String canonicalHostedZoneId)
The ID of the Amazon Route 53 hosted zone associated with the load balancer.
canonicalHostedZoneId
- The ID of the Amazon Route 53 hosted zone associated with the load balancer.LoadBalancer.Builder createdTime(Instant createdTime)
The date and time the load balancer was created.
createdTime
- The date and time the load balancer was created.LoadBalancer.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.LoadBalancer.Builder scheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an
Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes.
Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
,
LoadBalancerSchemeEnum
LoadBalancer.Builder scheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes. Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
scheme
- The nodes of an Internet-facing load balancer have public IP addresses. The DNS name of an
Internet-facing load balancer is publicly resolvable to the public IP addresses of the nodes.
Therefore, Internet-facing load balancers can route requests from clients over the Internet.
The nodes of an internal load balancer have only private IP addresses. The DNS name of an internal load balancer is publicly resolvable to the private IP addresses of the nodes. Therefore, internal load balancers can only route requests from clients with access to the VPC for the load balancer.
LoadBalancerSchemeEnum
,
LoadBalancerSchemeEnum
LoadBalancer.Builder vpcId(String vpcId)
The ID of the VPC for the load balancer.
vpcId
- The ID of the VPC for the load balancer.LoadBalancer.Builder state(LoadBalancerState state)
The state of the load balancer.
state
- The state of the load balancer.default LoadBalancer.Builder state(Consumer<LoadBalancerState.Builder> state)
The state of the load balancer.
This is a convenience that creates an instance of theLoadBalancerState.Builder
avoiding the need to
create one manually via LoadBalancerState.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to state(LoadBalancerState)
.state
- a consumer that will call methods on LoadBalancerState.Builder
state(LoadBalancerState)
LoadBalancer.Builder type(String type)
The type of load balancer.
type
- The type of load balancer.LoadBalancerTypeEnum
,
LoadBalancerTypeEnum
LoadBalancer.Builder type(LoadBalancerTypeEnum type)
The type of load balancer.
type
- The type of load balancer.LoadBalancerTypeEnum
,
LoadBalancerTypeEnum
LoadBalancer.Builder availabilityZones(Collection<AvailabilityZone> availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.LoadBalancer.Builder availabilityZones(AvailabilityZone... availabilityZones)
The Availability Zones for the load balancer.
availabilityZones
- The Availability Zones for the load balancer.LoadBalancer.Builder availabilityZones(Consumer<AvailabilityZone.Builder>... availabilityZones)
The Availability Zones for the load balancer.
This is a convenience that creates an instance of theList.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 #availabilityZones(List)
.availabilityZones
- a consumer that will call methods on List.Builder
#availabilityZones(List)
LoadBalancer.Builder securityGroups(Collection<String> securityGroups)
The IDs of the security groups for the load balancer.
securityGroups
- The IDs of the security groups for the load balancer.LoadBalancer.Builder securityGroups(String... securityGroups)
The IDs of the security groups for the load balancer.
securityGroups
- The IDs of the security groups for the load balancer.LoadBalancer.Builder ipAddressType(String ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
,
IpAddressType
LoadBalancer.Builder ipAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).
ipAddressType
- The type of IP addresses used by the subnets for your load balancer. The possible values are
ipv4
(for IPv4 addresses) and dualstack
(for IPv4 and IPv6 addresses).IpAddressType
,
IpAddressType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.