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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstanceHealthResponse.BuilderinstanceStates(Collection<InstanceState> instanceStates)Information about the health of the instances.DescribeInstanceHealthResponse.BuilderinstanceStates(Consumer<InstanceState.Builder>... instanceStates)Information about the health of the instances.DescribeInstanceHealthResponse.BuilderinstanceStates(InstanceState... instanceStates)Information about the health of the instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
instanceStates
DescribeInstanceHealthResponse.Builder instanceStates(Collection<InstanceState> 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(InstanceState... 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 to#instanceStates(List.) - 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:
#instanceStates(java.util.Collection)
-
-