public static interface SetSubnetsRequest.Builder extends ElasticLoadBalancingV2Request.Builder, SdkPojo, CopyableBuilder<SetSubnetsRequest.Builder,SetSubnetsRequest>
Modifier and Type | Method and Description |
---|---|
SetSubnetsRequest.Builder |
loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
SetSubnetsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetSubnetsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SetSubnetsRequest.Builder |
subnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the public subnets.
|
SetSubnetsRequest.Builder |
subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)
The IDs of the public subnets.
|
SetSubnetsRequest.Builder |
subnetMappings(SubnetMapping... subnetMappings)
The IDs of the public subnets.
|
SetSubnetsRequest.Builder |
subnets(Collection<String> subnets)
The IDs of the public subnets.
|
SetSubnetsRequest.Builder |
subnets(String... subnets)
The IDs of the public subnets.
|
build
overrideConfiguration
copy
applyMutation, build
SetSubnetsRequest.Builder loadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.SetSubnetsRequest.Builder subnets(Collection<String> subnets)
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
subnets
- The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can
specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.SetSubnetsRequest.Builder subnets(String... subnets)
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
subnets
- The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can
specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.SetSubnetsRequest.Builder subnetMappings(Collection<SubnetMapping> subnetMappings)
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
subnetMappings
- The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can
specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
SetSubnetsRequest.Builder subnetMappings(SubnetMapping... subnetMappings)
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
subnetMappings
- The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can
specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
SetSubnetsRequest.Builder subnetMappings(Consumer<SubnetMapping.Builder>... subnetMappings)
The IDs of the public subnets. You must specify subnets from at least two Availability Zones. You can specify only one subnet per Availability Zone. You must specify either subnets or subnet mappings.
You cannot specify Elastic IP addresses for your subnets.
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 #subnetMappings(List)
.subnetMappings
- a consumer that will call methods on List.Builder
#subnetMappings(List)
SetSubnetsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetSubnetsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.