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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelStepsResponse.BuildercancelStepsInfoList(Collection<CancelStepsInfo> cancelStepsInfoList)A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepIDspecified.CancelStepsResponse.BuildercancelStepsInfoList(Consumer<CancelStepsInfo.Builder>... cancelStepsInfoList)A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepIDspecified.CancelStepsResponse.BuildercancelStepsInfoList(CancelStepsInfo... cancelStepsInfoList)A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepIDspecified.-
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
-
cancelStepsInfoList
CancelStepsResponse.Builder cancelStepsInfoList(Collection<CancelStepsInfo> cancelStepsInfoList)
A list of CancelStepsInfo, which shows the status of specified cancel requests for each
StepIDspecified.- Parameters:
cancelStepsInfoList- A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepIDspecified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cancelStepsInfoList
CancelStepsResponse.Builder cancelStepsInfoList(CancelStepsInfo... cancelStepsInfoList)
A list of CancelStepsInfo, which shows the status of specified cancel requests for each
StepIDspecified.- Parameters:
cancelStepsInfoList- A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepIDspecified.- 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 theStepIDspecified.CancelStepsInfo.Builderavoiding the need to create one manually viaCancelStepsInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cancelStepsInfoList(List.) - 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:
#cancelStepsInfoList(java.util.Collection)
-
-