CopyableBuilder<AttachLoadBalancerToSubnetsRequest.Builder,AttachLoadBalancerToSubnetsRequest>
, SdkBuilder<AttachLoadBalancerToSubnetsRequest.Builder,AttachLoadBalancerToSubnetsRequest>
public static interface AttachLoadBalancerToSubnetsRequest.Builder extends CopyableBuilder<AttachLoadBalancerToSubnetsRequest.Builder,AttachLoadBalancerToSubnetsRequest>
Modifier and Type | Method | Description |
---|---|---|
AttachLoadBalancerToSubnetsRequest.Builder |
loadBalancerName(String loadBalancerName) |
The name of the load balancer.
|
AttachLoadBalancerToSubnetsRequest.Builder |
subnets(String... subnets) |
The IDs of the subnets to add.
|
AttachLoadBalancerToSubnetsRequest.Builder |
subnets(Collection<String> subnets) |
The IDs of the subnets to add.
|
copy
apply, build
AttachLoadBalancerToSubnetsRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.AttachLoadBalancerToSubnetsRequest.Builder subnets(Collection<String> subnets)
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
subnets
- The IDs of the subnets to add. You can add only one subnet per Availability Zone.AttachLoadBalancerToSubnetsRequest.Builder subnets(String... subnets)
The IDs of the subnets to add. You can add only one subnet per Availability Zone.
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 add. You can add only one subnet per Availability Zone.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.