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.BuildererrorDetail(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.TheJobRunIdof the job run in question.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
JobRunIdof the job run in question.- Parameters:
jobRunId- TheJobRunIdof 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.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,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:
-