Interface CancelStepsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CancelStepsResponse.Builder,,CancelStepsResponse> EmrResponse.Builder,SdkBuilder<CancelStepsResponse.Builder,,CancelStepsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CancelStepsResponse
@Mutable
@NotThreadSafe
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 eachStepIDspecified.cancelStepsInfoList(Consumer<CancelStepsInfo.Builder>... cancelStepsInfoList) A list of CancelStepsInfo, which shows the status of specified cancel requests for eachStepIDspecified.cancelStepsInfoList(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
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
-
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
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 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:
-