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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListStepsResponse.Buildermarker(String marker)The maximum number of steps that a singleListStepsaction returns is 50.ListStepsResponse.Buildersteps(Collection<StepSummary> steps)The filtered list of steps for the cluster.ListStepsResponse.Buildersteps(Consumer<StepSummary.Builder>... steps)The filtered list of steps for the cluster.ListStepsResponse.Buildersteps(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
steps
ListStepsResponse.Builder steps(Collection<StepSummary> 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
ListStepsResponse.Builder steps(StepSummary... 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
ListStepsResponse.Builder steps(Consumer<StepSummary.Builder>... steps)
The filtered list of steps for the cluster.
This is a convenience method that creates an instance of theStepSummary.Builderavoiding the need to create one manually viaStepSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#steps(List.) - 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:
#steps(java.util.Collection)
-
marker
ListStepsResponse.Builder marker(String marker)
The maximum number of steps that a single
ListStepsaction returns is 50. To return a longer list of steps, use multipleListStepsactions along with theMarkerparameter, which is a pagination token that indicates the next set of results to retrieve.- Parameters:
marker- The maximum number of steps that a singleListStepsaction returns is 50. To return a longer list of steps, use multipleListStepsactions along with theMarkerparameter, 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.
-
-