public static interface BatchStopJobRunError.Builder extends SdkPojo, CopyableBuilder<BatchStopJobRunError.Builder,BatchStopJobRunError>
Modifier and Type | Method and Description |
---|---|
default BatchStopJobRunError.Builder |
errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
Specifies details about the error that was encountered.
|
BatchStopJobRunError.Builder |
errorDetail(ErrorDetail errorDetail)
Specifies details about the error that was encountered.
|
BatchStopJobRunError.Builder |
jobName(String jobName)
The name of the job definition used in the job run in question.
|
BatchStopJobRunError.Builder |
jobRunId(String jobRunId)
The JobRunId of the job run in question.
|
copy
applyMutation, build
BatchStopJobRunError.Builder jobName(String jobName)
The name of the job definition used in the job run in question.
jobName
- The name of the job definition used in the job run in question.BatchStopJobRunError.Builder jobRunId(String jobRunId)
The JobRunId of the job run in question.
jobRunId
- The JobRunId of the job run in question.BatchStopJobRunError.Builder errorDetail(ErrorDetail errorDetail)
Specifies details about the error that was encountered.
errorDetail
- Specifies details about the error that was encountered.default BatchStopJobRunError.Builder errorDetail(Consumer<ErrorDetail.Builder> errorDetail)
Specifies details about the error that was encountered.
This is a convenience that creates an instance of theErrorDetail.Builder
avoiding the need to create
one manually via ErrorDetail.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to errorDetail(ErrorDetail)
.errorDetail
- a consumer that will call methods on ErrorDetail.Builder
errorDetail(ErrorDetail)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.