public static interface CreateLoadBalancerRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<CreateLoadBalancerRequest.Builder,CreateLoadBalancerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateLoadBalancerRequest.Builder |
customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP pool).
|
CreateLoadBalancerRequest.Builder |
ipAddressType(IpAddressType ipAddressType)
The type of IP addresses used by the subnets for your load balancer.
|
CreateLoadBalancerRequest.Builder |
ipAddressType(String 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateLoadBalancerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateLoadBalancerRequest.Builder |
scheme(LoadBalancerSchemeEnum scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
CreateLoadBalancerRequest.Builder |
scheme(String scheme)
The nodes of an Internet-facing load balancer have public IP addresses.
|
CreateLoadBalancerRequest.Builder |
securityGroups(Collection<String> securityGroups)
[Application Load Balancers] The IDs of the security groups for the load balancer.
|
CreateLoadBalancerRequest.Builder |
securityGroups(String... securityGroups)
[Application Load Balancers] The IDs of the security groups for the load balancer.
|
CreateLoadBalancerRequest.Builder |
subnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the public subnets.
|
CreateLoadBalancerRequest.Builder |
subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)
The IDs of the public subnets.
|
CreateLoadBalancerRequest.Builder |
subnetMappings(SubnetMapping... subnetMappings)
The IDs of the public subnets.
|
CreateLoadBalancerRequest.Builder |
subnets(Collection<String> subnets)
The IDs of the public subnets.
|
CreateLoadBalancerRequest.Builder |
subnets(String... subnets)
The IDs of the public subnets.
|
CreateLoadBalancerRequest.Builder |
tags(Collection<Tag> tags)
The tags to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
tags(Tag... tags)
The tags to assign to the load balancer.
|
CreateLoadBalancerRequest.Builder |
type(LoadBalancerTypeEnum type)
The type of load balancer.
|
CreateLoadBalancerRequest.Builder |
type(String type)
The type of load balancer.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLoadBalancerRequest.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, must not begin or end with a hyphen, and must not begin with "internal-".
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, must not begin or end with a hyphen, and must not begin with "internal-".
CreateLoadBalancerRequest.Builder subnets(Collection<String> subnets)
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
subnets - The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify
either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet
mappings instead of subnets.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
CreateLoadBalancerRequest.Builder subnets(String... subnets)
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet mappings instead of subnets.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
subnets - The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify
either subnets or subnet mappings, but not both. To specify an Elastic IP address, specify subnet
mappings instead of subnets.
[Application Load Balancers] You must specify subnets from at least two Availability Zones.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones.
CreateLoadBalancerRequest.Builder subnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
subnetMappings - The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify
either subnets or subnet mappings, but not both.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
CreateLoadBalancerRequest.Builder subnetMappings(SubnetMapping... subnetMappings)
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
subnetMappings - The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify
either subnets or subnet mappings, but not both.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
CreateLoadBalancerRequest.Builder subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)
The IDs of the public subnets. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings, but not both.
[Application Load Balancers] You must specify subnets from at least two Availability Zones. You cannot specify Elastic IP addresses for your subnets.
[Application Load Balancers on Outposts] You must specify one Outpost subnet.
[Application Load Balancers on Local Zones] You can specify subnets from one or more Local Zones.
[Network Load Balancers] You can specify subnets from one or more Availability Zones. You can specify one Elastic IP address per subnet if you need static IP addresses for your internet-facing load balancer. For internal load balancers, you can specify one private IP address per subnet from the IPv4 range of the subnet. For internet-facing load balancer, you can specify one IPv6 address per subnet.
[Gateway Load Balancers] You can specify subnets from one or more Availability Zones. You cannot specify Elastic IP addresses for your subnets.
This is a convenience method that creates an instance of theSubnetMapping.Builder avoiding the need
to create one manually via
SubnetMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #subnetMappings(List.
subnetMappings - a consumer that will call methods on
SubnetMapping.Builder#subnetMappings(java.util.Collection) CreateLoadBalancerRequest.Builder securityGroups(Collection<String> securityGroups)
[Application Load Balancers] The IDs of the security groups for the load balancer.
securityGroups - [Application Load Balancers] The IDs of the security groups for the load balancer.CreateLoadBalancerRequest.Builder securityGroups(String... securityGroups)
[Application Load Balancers] The IDs of the security groups for the load balancer.
securityGroups - [Application Load Balancers] The IDs of the security groups for 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 route requests only from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
You cannot specify a scheme for a Gateway 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 route requests only from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
You cannot specify a scheme for a Gateway Load Balancer.
LoadBalancerSchemeEnum,
LoadBalancerSchemeEnumCreateLoadBalancerRequest.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 route requests only from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
You cannot specify a scheme for a Gateway 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 route requests only from clients with access to the VPC for the load balancer.
The default is an Internet-facing load balancer.
You cannot specify a scheme for a Gateway Load Balancer.
LoadBalancerSchemeEnum,
LoadBalancerSchemeEnumCreateLoadBalancerRequest.Builder tags(Collection<Tag> tags)
The tags to assign to the load balancer.
tags - The tags to assign to the load balancer.CreateLoadBalancerRequest.Builder tags(Tag... tags)
The tags to assign to the load balancer.
tags - The tags to assign to the load balancer.CreateLoadBalancerRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to assign to the load balancer.
This is a convenience method that creates an instance of theTag.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 type(String type)
The type of load balancer. The default is application.
type - The type of load balancer. The default is application.LoadBalancerTypeEnum,
LoadBalancerTypeEnumCreateLoadBalancerRequest.Builder type(LoadBalancerTypeEnum type)
The type of load balancer. The default is application.
type - The type of load balancer. The default is application.LoadBalancerTypeEnum,
LoadBalancerTypeEnumCreateLoadBalancerRequest.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,
IpAddressTypeCreateLoadBalancerRequest.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,
IpAddressTypeCreateLoadBalancerRequest.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
[Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP pool).
customerOwnedIpv4Pool - [Application Load Balancers on Outposts] The ID of the customer-owned address pool (CoIP pool).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.