Interface ListInstancesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListInstancesRequest.Builder,ListInstancesRequest>
,EmrRequest.Builder
,SdkBuilder<ListInstancesRequest.Builder,ListInstancesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ListInstancesRequest
public static interface ListInstancesRequest.Builder extends EmrRequest.Builder, SdkPojo, CopyableBuilder<ListInstancesRequest.Builder,ListInstancesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListInstancesRequest.Builder
clusterId(String clusterId)
The identifier of the cluster for which to list the instances.ListInstancesRequest.Builder
instanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet.ListInstancesRequest.Builder
instanceFleetType(String instanceFleetType)
The node type of the instance fleet.ListInstancesRequest.Builder
instanceFleetType(InstanceFleetType instanceFleetType)
The node type of the instance fleet.ListInstancesRequest.Builder
instanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.ListInstancesRequest.Builder
instanceGroupTypes(Collection<InstanceGroupType> instanceGroupTypes)
The type of instance group for which to list the instances.ListInstancesRequest.Builder
instanceGroupTypes(InstanceGroupType... instanceGroupTypes)
The type of instance group for which to list the instances.ListInstancesRequest.Builder
instanceGroupTypesWithStrings(String... instanceGroupTypes)
The type of instance group for which to list the instances.ListInstancesRequest.Builder
instanceGroupTypesWithStrings(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.ListInstancesRequest.Builder
instanceStates(Collection<InstanceState> instanceStates)
A list of instance states that will filter the instances returned with this request.ListInstancesRequest.Builder
instanceStates(InstanceState... instanceStates)
A list of instance states that will filter the instances returned with this request.ListInstancesRequest.Builder
instanceStatesWithStrings(String... instanceStates)
A list of instance states that will filter the instances returned with this request.ListInstancesRequest.Builder
instanceStatesWithStrings(Collection<String> instanceStates)
A list of instance states that will filter the instances returned with this request.ListInstancesRequest.Builder
marker(String marker)
The pagination token that indicates the next set of results to retrieve.ListInstancesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ListInstancesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.emr.model.EmrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
clusterId
ListInstancesRequest.Builder clusterId(String clusterId)
The identifier of the cluster for which to list the instances.
- Parameters:
clusterId
- The identifier of the cluster for which to list the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupId
ListInstancesRequest.Builder instanceGroupId(String instanceGroupId)
The identifier of the instance group for which to list the instances.
- Parameters:
instanceGroupId
- The identifier of the instance group for which to list the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupTypesWithStrings
ListInstancesRequest.Builder instanceGroupTypesWithStrings(Collection<String> instanceGroupTypes)
The type of instance group for which to list the instances.
- Parameters:
instanceGroupTypes
- The type of instance group for which to list the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupTypesWithStrings
ListInstancesRequest.Builder instanceGroupTypesWithStrings(String... instanceGroupTypes)
The type of instance group for which to list the instances.
- Parameters:
instanceGroupTypes
- The type of instance group for which to list the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupTypes
ListInstancesRequest.Builder instanceGroupTypes(Collection<InstanceGroupType> instanceGroupTypes)
The type of instance group for which to list the instances.
- Parameters:
instanceGroupTypes
- The type of instance group for which to list the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupTypes
ListInstancesRequest.Builder instanceGroupTypes(InstanceGroupType... instanceGroupTypes)
The type of instance group for which to list the instances.
- Parameters:
instanceGroupTypes
- The type of instance group for which to list the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFleetId
ListInstancesRequest.Builder instanceFleetId(String instanceFleetId)
The unique identifier of the instance fleet.
- Parameters:
instanceFleetId
- The unique identifier of the instance fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceFleetType
ListInstancesRequest.Builder instanceFleetType(String instanceFleetType)
The node type of the instance fleet. For example MASTER, CORE, or TASK.
- Parameters:
instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceFleetType
,InstanceFleetType
-
instanceFleetType
ListInstancesRequest.Builder instanceFleetType(InstanceFleetType instanceFleetType)
The node type of the instance fleet. For example MASTER, CORE, or TASK.
- Parameters:
instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceFleetType
,InstanceFleetType
-
instanceStatesWithStrings
ListInstancesRequest.Builder instanceStatesWithStrings(Collection<String> instanceStates)
A list of instance states that will filter the instances returned with this request.
- Parameters:
instanceStates
- A list of instance states that will filter the instances returned with this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStatesWithStrings
ListInstancesRequest.Builder instanceStatesWithStrings(String... instanceStates)
A list of instance states that will filter the instances returned with this request.
- Parameters:
instanceStates
- A list of instance states that will filter the instances returned with this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStates
ListInstancesRequest.Builder instanceStates(Collection<InstanceState> instanceStates)
A list of instance states that will filter the instances returned with this request.
- Parameters:
instanceStates
- A list of instance states that will filter the instances returned with this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStates
ListInstancesRequest.Builder instanceStates(InstanceState... instanceStates)
A list of instance states that will filter the instances returned with this request.
- Parameters:
instanceStates
- A list of instance states that will filter the instances returned with this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
ListInstancesRequest.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.
-
overrideConfiguration
ListInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ListInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-