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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchStopJobRunError.BuildererrorDetail(Consumer<ErrorDetail.Builder> errorDetail)Specifies details about the error that was encountered.BatchStopJobRunError.BuildererrorDetail(ErrorDetail errorDetail)Specifies details about the error that was encountered.BatchStopJobRunError.BuilderjobName(String jobName)The name of the job definition that is used in the job run in question.BatchStopJobRunError.BuilderjobRunId(String jobRunId)TheJobRunIdof 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 Detail
-
jobName
BatchStopJobRunError.Builder jobName(String 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
BatchStopJobRunError.Builder jobRunId(String 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
BatchStopJobRunError.Builder errorDetail(ErrorDetail 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
default BatchStopJobRunError.Builder errorDetail(Consumer<ErrorDetail.Builder> 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:
errorDetail(ErrorDetail)
-
-