public static interface RegisterInstancesWithLoadBalancerResponse.Builder extends ElasticLoadBalancingResponse.Builder, CopyableBuilder<RegisterInstancesWithLoadBalancerResponse.Builder,RegisterInstancesWithLoadBalancerResponse>
Modifier and Type | Method and Description |
---|---|
RegisterInstancesWithLoadBalancerResponse.Builder |
instances(Collection<Instance> instances)
The updated list of instances for the load balancer.
|
RegisterInstancesWithLoadBalancerResponse.Builder |
instances(Consumer<Instance.Builder>... instances)
The updated list of instances for the load balancer.
|
RegisterInstancesWithLoadBalancerResponse.Builder |
instances(Instance... instances)
The updated list of instances for the load balancer.
|
build
sdkHttpResponse, sdkHttpResponse
copy
apply, build
RegisterInstancesWithLoadBalancerResponse.Builder instances(Collection<Instance> instances)
The updated list of instances for the load balancer.
instances
- The updated list of instances for the load balancer.RegisterInstancesWithLoadBalancerResponse.Builder instances(Instance... instances)
The updated list of instances for the load balancer.
instances
- The updated list of instances for the load balancer.RegisterInstancesWithLoadBalancerResponse.Builder instances(Consumer<Instance.Builder>... instances)
The updated list of instances 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 #instances(List)
.instances
- a consumer that will call methods on List.Builder
#instances(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.