Interface BatchStopJobRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchStopJobRunResponse.Builder,
,BatchStopJobRunResponse> GlueResponse.Builder
,SdkBuilder<BatchStopJobRunResponse.Builder,
,BatchStopJobRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchStopJobRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<BatchStopJobRunError> errors) A list of the errors that were encountered in trying to stopJobRuns
, including theJobRunId
for which each error was encountered and details about the error.errors
(Consumer<BatchStopJobRunError.Builder>... errors) A list of the errors that were encountered in trying to stopJobRuns
, including theJobRunId
for which each error was encountered and details about the error.errors
(BatchStopJobRunError... errors) A list of the errors that were encountered in trying to stopJobRuns
, including theJobRunId
for which each error was encountered and details about the error.successfulSubmissions
(Collection<BatchStopJobRunSuccessfulSubmission> successfulSubmissions) A list of the JobRuns that were successfully submitted for stopping.successfulSubmissions
(Consumer<BatchStopJobRunSuccessfulSubmission.Builder>... successfulSubmissions) A list of the JobRuns that were successfully submitted for stopping.successfulSubmissions
(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 Details
-
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.Builder
avoiding the need to create one manually viaBatchStopJobRunSuccessfulSubmission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosuccessfulSubmissions(List<BatchStopJobRunSuccessfulSubmission>)
.- 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:
-
errors
A list of the errors that were encountered in trying to stop
JobRuns
, including theJobRunId
for 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 theJobRunId
for 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
A list of the errors that were encountered in trying to stop
JobRuns
, including theJobRunId
for 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 theJobRunId
for 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
A list of the errors that were encountered in trying to stop
This is a convenience method that creates an instance of theJobRuns
, including theJobRunId
for which each error was encountered and details about the error.BatchStopJobRunError.Builder
avoiding the need to create one manually viaBatchStopJobRunError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<BatchStopJobRunError>)
.- 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:
-