Interface BatchStopJobRunResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchStopJobRunResponse.Builder,BatchStopJobRunResponse>,GlueResponse.Builder,SdkBuilder<BatchStopJobRunResponse.Builder,BatchStopJobRunResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchStopJobRunResponse
public static interface BatchStopJobRunResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<BatchStopJobRunResponse.Builder,BatchStopJobRunResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchStopJobRunResponse.Buildererrors(Collection<BatchStopJobRunError> errors)A list of the errors that were encountered in trying to stopJobRuns, including theJobRunIdfor which each error was encountered and details about the error.BatchStopJobRunResponse.Buildererrors(Consumer<BatchStopJobRunError.Builder>... errors)A list of the errors that were encountered in trying to stopJobRuns, including theJobRunIdfor which each error was encountered and details about the error.BatchStopJobRunResponse.Buildererrors(BatchStopJobRunError... errors)A list of the errors that were encountered in trying to stopJobRuns, including theJobRunIdfor which each error was encountered and details about the error.BatchStopJobRunResponse.BuildersuccessfulSubmissions(Collection<BatchStopJobRunSuccessfulSubmission> successfulSubmissions)A list of the JobRuns that were successfully submitted for stopping.BatchStopJobRunResponse.BuildersuccessfulSubmissions(Consumer<BatchStopJobRunSuccessfulSubmission.Builder>... successfulSubmissions)A list of the JobRuns that were successfully submitted for stopping.BatchStopJobRunResponse.BuildersuccessfulSubmissions(BatchStopJobRunSuccessfulSubmission... successfulSubmissions)A list of the JobRuns that were successfully submitted for stopping.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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 Detail
-
successfulSubmissions
BatchStopJobRunResponse.Builder successfulSubmissions(Collection<BatchStopJobRunSuccessfulSubmission> successfulSubmissions)
A list of the JobRuns that were successfully submitted for stopping.
- Parameters:
successfulSubmissions- A list of the JobRuns that were successfully submitted for stopping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulSubmissions
BatchStopJobRunResponse.Builder successfulSubmissions(BatchStopJobRunSuccessfulSubmission... successfulSubmissions)
A list of the JobRuns that were successfully submitted for stopping.
- Parameters:
successfulSubmissions- A list of the JobRuns that were successfully submitted for stopping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulSubmissions
BatchStopJobRunResponse.Builder successfulSubmissions(Consumer<BatchStopJobRunSuccessfulSubmission.Builder>... successfulSubmissions)
A list of the JobRuns that were successfully submitted for stopping.
This is a convenience method that creates an instance of theBatchStopJobRunSuccessfulSubmission.Builderavoiding the need to create one manually viaBatchStopJobRunSuccessfulSubmission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#successfulSubmissions(List.) - Parameters:
successfulSubmissions- a consumer that will call methods onBatchStopJobRunSuccessfulSubmission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#successfulSubmissions(java.util.Collection)
-
errors
BatchStopJobRunResponse.Builder errors(Collection<BatchStopJobRunError> errors)
A list of the errors that were encountered in trying to stop
JobRuns, including theJobRunIdfor which each error was encountered and details about the error.- Parameters:
errors- A list of the errors that were encountered in trying to stopJobRuns, including theJobRunIdfor which each error was encountered and details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchStopJobRunResponse.Builder errors(BatchStopJobRunError... errors)
A list of the errors that were encountered in trying to stop
JobRuns, including theJobRunIdfor which each error was encountered and details about the error.- Parameters:
errors- A list of the errors that were encountered in trying to stopJobRuns, including theJobRunIdfor which each error was encountered and details about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchStopJobRunResponse.Builder errors(Consumer<BatchStopJobRunError.Builder>... errors)
A list of the errors that were encountered in trying to stop
This is a convenience method that creates an instance of theJobRuns, including theJobRunIdfor which each error was encountered and details about the error.BatchStopJobRunError.Builderavoiding the need to create one manually viaBatchStopJobRunError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - Parameters:
errors- a consumer that will call methods onBatchStopJobRunError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection)
-
-