Interface ListStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStepsResponse.Builder,
,ListStepsResponse> EmrResponse.Builder
,SdkBuilder<ListStepsResponse.Builder,
,ListStepsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStepsResponse
public static interface ListStepsResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListStepsResponse.Builder,ListStepsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of steps that a singleListSteps
action returns is 50.steps
(Collection<StepSummary> steps) The filtered list of steps for the cluster.steps
(Consumer<StepSummary.Builder>... steps) The filtered list of steps for the cluster.steps
(StepSummary... steps) The filtered list of steps for the cluster.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
-
steps
The filtered list of steps for the cluster.
- Parameters:
steps
- The filtered list of steps for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The filtered list of steps for the cluster.
- Parameters:
steps
- The filtered list of steps for the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The filtered list of steps for the cluster.
This is a convenience method that creates an instance of theStepSummary.Builder
avoiding the need to create one manually viaStepSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<StepSummary>)
.- Parameters:
steps
- a consumer that will call methods onStepSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
marker
The maximum number of steps that a single
ListSteps
action returns is 50. To return a longer list of steps, use multipleListSteps
actions along with theMarker
parameter, which is a pagination token that indicates the next set of results to retrieve.- Parameters:
marker
- The maximum number of steps that a singleListSteps
action returns is 50. To return a longer list of steps, use multipleListSteps
actions along with theMarker
parameter, which is a 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.
-