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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeInstanceHealthResponse.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 method that creates an instance of theInstanceState.Builder avoiding the need to
create one manually via
InstanceState.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #instanceStates(List.
instanceStates - a consumer that will call methods on
InstanceState.Builder#instanceStates(java.util.Collection) Copyright © 2023. All rights reserved.