CopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
, SdkBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
public static interface CreateLoadBalancerRequest.Builder extends CopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateLoadBalancerRequest.Builder |
ipAddressType(String ipAddressType) |
The type of IP addresses used by the subnets for your load balancer.
|
CreateLoadBalancerRequest.Builder |
ipAddressType(IpAddressType ipAddressType) |
The type of IP addresses used by the subnets for your load balancer.
|
CreateLoadBalancerRequest.Builder |
name(String name) |
The name of the load balancer.
|
CreateLoadBalancerRequest.Builder |
scheme(String scheme) |
The nodes of an Internet-facing load balancer have public IP addresses.
|
CreateLoadBalancerRequest.Builder |
scheme(LoadBalancerSchemeEnum scheme) |
The nodes of an Internet-facing load balancer have public IP addresses.
|
CreateLoadBalancerRequest.Builder |
securityGroups(String... securityGroups) |
The IDs of the security groups to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
securityGroups(Collection<String> securityGroups) |
The IDs of the security groups to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
subnets(String... subnets) |
The IDs of the subnets to attach to the load balancer.
|
CreateLoadBalancerRequest.Builder |
subnets(Collection<String> subnets) |
The IDs of the subnets to attach to the load balancer.
|
CreateLoadBalancerRequest.Builder |
tags(Collection<Tag> tags) |
One or more tags to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
tags(Tag... tags) |
One or more tags to assign to the load balancer.
|
copy
apply, build
CreateLoadBalancerRequest.Builder name(String name)
The name of the load balancer.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
name
- The name of the load balancer.
This name must be unique per region per account, can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens, and must not begin or end with a hyphen.
CreateLoadBalancerRequest.Builder subnets(Collection<String> subnets)
The IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
subnets
- The IDs of the subnets to attach to the load balancer. You can specify only one subnet per
Availability Zone. You must specify subnets from at least two Availability Zones.CreateLoadBalancerRequest.Builder subnets(String... subnets)
The IDs of the subnets to attach to the load balancer. You can specify only one subnet per Availability Zone. You must specify subnets from at least two Availability Zones.
NOTE: This method appends the values to the existing list (if any). Use
#setSubnets(java.util.Collection)
or #withSubnets(java.util.Collection)
if you want to
override the existing values.
subnets
- The IDs of the subnets to attach to the load balancer. You can specify only one subnet per
Availability Zone. You must specify subnets from at least two Availability Zones.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.
NOTE: This method appends the values to the existing list (if any). Use
#setSecurityGroups(java.util.Collection)
or #withSecurityGroups(java.util.Collection)
if you
want to override the existing values.
securityGroups
- The IDs of the security groups to assign to the load balancer.CreateLoadBalancerRequest.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.
The default is an Internet-facing 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.
The default is an Internet-facing load balancer.
LoadBalancerSchemeEnum
CreateLoadBalancerRequest.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.
The default is an Internet-facing 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.
The default is an Internet-facing load balancer.
LoadBalancerSchemeEnum
CreateLoadBalancerRequest.Builder tags(Collection<Tag> tags)
One or more tags to assign to the load balancer.
tags
- One or more tags to assign to the load balancer.CreateLoadBalancerRequest.Builder tags(Tag... tags)
One or more tags to assign to the load balancer.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- One or more tags to assign to the load balancer.CreateLoadBalancerRequest.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). Internal
load balancers must use ipv4
.
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).
Internal load balancers must use ipv4
.IpAddressType
CreateLoadBalancerRequest.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). Internal
load balancers must use ipv4
.
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).
Internal load balancers must use ipv4
.IpAddressType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.