Interface ListInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInstancesResponse.Builder,
,ListInstancesResponse> EmrResponse.Builder
,SdkBuilder<ListInstancesResponse.Builder,
,ListInstancesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInstancesResponse
public static interface ListInstancesResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListInstancesResponse.Builder,ListInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstances
(Collection<Instance> instances) The list of instances for the cluster and given filters.instances
(Consumer<Instance.Builder>... instances) The list of instances for the cluster and given filters.The list of instances for the cluster and given filters.The pagination token that indicates the next set of results to retrieve.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
instances
The list of instances for the cluster and given filters.
- Parameters:
instances
- The list of instances for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The list of instances for the cluster and given filters.
- Parameters:
instances
- The list of instances for the cluster and given filters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
The list of instances for the cluster and given filters.
This is a convenience method that creates an instance of theInstance.Builder
avoiding the need to create one manually viaInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstances(List<Instance>)
.- Parameters:
instances
- a consumer that will call methods onInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
The pagination token that indicates the next set of results to retrieve.
- Parameters:
marker
- The pagination token that indicates the next set of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-