Interface ListStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListStepsResponse.Builder,,ListStepsResponse> EmrResponse.Builder,SdkBuilder<ListStepsResponse.Builder,,ListStepsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListStepsResponse
@Mutable
@NotThreadSafe
public static interface ListStepsResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<ListStepsResponse.Builder,ListStepsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of steps that a singleListStepsaction 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
copyMethods inherited from interface software.amazon.awssdk.services.emr.model.EmrResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaStepSummary.builder().When the
Consumercompletes,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
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.
-