public static interface DescribeInstanceHealthResponse.Builder extends ElasticLoadBalancingResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstanceHealthResponse.Builder,DescribeInstanceHealthResponse>
Modifier and Type | Method and Description |
---|---|
DescribeInstanceHealthResponse.Builder |
instanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
|
DescribeInstanceHealthResponse.Builder |
instanceStates(Consumer<InstanceState.Builder>... instanceStates)
Information about the health of the instances.
|
DescribeInstanceHealthResponse.Builder |
instanceStates(InstanceState... instanceStates)
Information about the health of the instances.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeInstanceHealthResponse.Builder instanceStates(Collection<InstanceState> instanceStates)
Information about the health of the instances.
instanceStates
- Information about the health of the instances.DescribeInstanceHealthResponse.Builder instanceStates(InstanceState... instanceStates)
Information about the health of the instances.
instanceStates
- Information about the health of the instances.DescribeInstanceHealthResponse.Builder instanceStates(Consumer<InstanceState.Builder>... instanceStates)
Information about the health 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 #instanceStates(List)
.instanceStates
- a consumer that will call methods on List.Builder
#instanceStates(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.