Interface DescribeInstanceHealthResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInstanceHealthResponse.Builder,,DescribeInstanceHealthResponse> ElasticLoadBalancingResponse.Builder,SdkBuilder<DescribeInstanceHealthResponse.Builder,,DescribeInstanceHealthResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 DescribeInstanceHealthResponse
public static interface DescribeInstanceHealthResponse.Builder
extends ElasticLoadBalancingResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstanceHealthResponse.Builder,DescribeInstanceHealthResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioninstanceStates(Collection<InstanceState> instanceStates) Information about the health of the instances.instanceStates(Consumer<InstanceState.Builder>... instanceStates) Information about the health of the instances.instanceStates(InstanceState... instanceStates) Information about the health of the instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
instanceStates
Information about the health of the instances.
- Parameters:
 instanceStates- Information about the health of the instances.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
instanceStates
Information about the health of the instances.
- Parameters:
 instanceStates- Information about the health of the instances.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
instanceStates
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.Builderavoiding the need to create one manually viaInstanceState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceStates(List<InstanceState>).- Parameters:
 instanceStates- a consumer that will call methods onInstanceState.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -