Interface CancelStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CancelStepsResponse.Builder,
,CancelStepsResponse> EmrResponse.Builder
,SdkBuilder<CancelStepsResponse.Builder,
,CancelStepsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CancelStepsResponse
public static interface CancelStepsResponse.Builder
extends EmrResponse.Builder, SdkPojo, CopyableBuilder<CancelStepsResponse.Builder,CancelStepsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncancelStepsInfoList
(Collection<CancelStepsInfo> cancelStepsInfoList) A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepID
specified.cancelStepsInfoList
(Consumer<CancelStepsInfo.Builder>... cancelStepsInfoList) A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepID
specified.cancelStepsInfoList
(CancelStepsInfo... cancelStepsInfoList) A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepID
specified.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
-
cancelStepsInfoList
A list of CancelStepsInfo, which shows the status of specified cancel requests for each
StepID
specified.- Parameters:
cancelStepsInfoList
- A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepID
specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelStepsInfoList
A list of CancelStepsInfo, which shows the status of specified cancel requests for each
StepID
specified.- Parameters:
cancelStepsInfoList
- A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepID
specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelStepsInfoList
CancelStepsResponse.Builder cancelStepsInfoList(Consumer<CancelStepsInfo.Builder>... cancelStepsInfoList) A list of CancelStepsInfo, which shows the status of specified cancel requests for each
This is a convenience method that creates an instance of theStepID
specified.CancelStepsInfo.Builder
avoiding the need to create one manually viaCancelStepsInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocancelStepsInfoList(List<CancelStepsInfo>)
.- Parameters:
cancelStepsInfoList
- a consumer that will call methods onCancelStepsInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-