public static interface DescribeInstanceHealthRequest.Builder extends ElasticLoadBalancingRequest.Builder, CopyableBuilder<DescribeInstanceHealthRequest.Builder,DescribeInstanceHealthRequest>
Modifier and Type | Method and Description |
---|---|
DescribeInstanceHealthRequest.Builder |
instances(Collection<Instance> instances)
The IDs of the instances.
|
DescribeInstanceHealthRequest.Builder |
instances(Consumer<Instance.Builder>... instances)
The IDs of the instances.
|
DescribeInstanceHealthRequest.Builder |
instances(Instance... instances)
The IDs of the instances.
|
DescribeInstanceHealthRequest.Builder |
loadBalancerName(String loadBalancerName)
The name of the load balancer.
|
DescribeInstanceHealthRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DescribeInstanceHealthRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
DescribeInstanceHealthRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.DescribeInstanceHealthRequest.Builder instances(Collection<Instance> instances)
The IDs of the instances.
instances
- The IDs of the instances.DescribeInstanceHealthRequest.Builder instances(Instance... instances)
The IDs of the instances.
instances
- The IDs of the instances.DescribeInstanceHealthRequest.Builder instances(Consumer<Instance.Builder>... instances)
The IDs of the instances.
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)
DescribeInstanceHealthRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DescribeInstanceHealthRequest.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.