public static interface RegisterInstancesWithLoadBalancerResponse.Builder extends ElasticLoadBalancingResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildRegisterInstancesWithLoadBalancerResponse.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 method that creates an instance of theInstance.Builder avoiding the need to
create one manually via Instance.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #instances(List.
instances - a consumer that will call methods on
Instance.Builder#instances(java.util.Collection) Copyright © 2023. All rights reserved.