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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstancesResponse.Builderinstances(Collection<Instance> instances)The list of instances for the cluster and given filters.ListInstancesResponse.Builderinstances(Consumer<Instance.Builder>... instances)The list of instances for the cluster and given filters.ListInstancesResponse.Builderinstances(Instance... instances)The list of instances for the cluster and given filters.ListInstancesResponse.Buildermarker(String marker)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
instances
ListInstancesResponse.Builder instances(Collection<Instance> 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
ListInstancesResponse.Builder instances(Instance... 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
ListInstancesResponse.Builder instances(Consumer<Instance.Builder>... instances)
The list of instances for the cluster and given filters.
This is a convenience method that creates an instance of theInstance.Builderavoiding the need to create one manually viaInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instances(List.) - 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:
#instances(java.util.Collection)
-
marker
ListInstancesResponse.Builder marker(String 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.
-
-