Interface BatchStopJobRunError.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchStopJobRunError.Builder,
,BatchStopJobRunError> SdkBuilder<BatchStopJobRunError.Builder,
,BatchStopJobRunError> SdkPojo
- Enclosing class:
BatchStopJobRunError
public static interface BatchStopJobRunError.Builder
extends SdkPojo, CopyableBuilder<BatchStopJobRunError.Builder,BatchStopJobRunError>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchStopJobRunError.Builder
errorDetail
(Consumer<ErrorDetail.Builder> errorDetail) Specifies details about the error that was encountered.errorDetail
(ErrorDetail errorDetail) Specifies details about the error that was encountered.The name of the job definition that is used in the job run in question.TheJobRunId
of the job run in question.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobName
The name of the job definition that is used in the job run in question.
- Parameters:
jobName
- The name of the job definition that is used in the job run in question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRunId
The
JobRunId
of the job run in question.- Parameters:
jobRunId
- TheJobRunId
of the job run in question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
Specifies details about the error that was encountered.
- Parameters:
errorDetail
- Specifies details about the error that was encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetail
Specifies details about the error that was encountered.
This is a convenience method that creates an instance of theErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetail(ErrorDetail)
.- Parameters:
errorDetail
- a consumer that will call methods onErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-