Interface TerminateJobsErrorDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TerminateJobsErrorDetail.Builder,,TerminateJobsErrorDetail> SdkBuilder<TerminateJobsErrorDetail.Builder,,TerminateJobsErrorDetail> SdkPojo
- Enclosing class:
TerminateJobsErrorDetail
-
Method Summary
Modifier and TypeMethodDescriptionAn error code that identifies the reason the job couldn't be terminated.The Batch job ID of the job that couldn't be terminated.A message that describes the reason the job couldn't be terminated.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, sdkFieldNameToField, sdkFields
-
Method Details
-
job
The Batch job ID of the job that couldn't be terminated.
- Parameters:
job- The Batch job ID of the job that couldn't be terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
An error code that identifies the reason the job couldn't be terminated. Valid values are:
-
ValidationException– A job identifier in the request is malformed or isn't valid. -
ClientException– The request failed because of a client error. -
ThrottlingException– The request was throttled. Retry the request. -
ServerException– An internal error occurred. Retry the request. -
AccessDenied– The caller isn't authorized to perform the action on the specified job.
- Parameters:
code- An error code that identifies the reason the job couldn't be terminated. Valid values are:-
ValidationException– A job identifier in the request is malformed or isn't valid. -
ClientException– The request failed because of a client error. -
ThrottlingException– The request was throttled. Retry the request. -
ServerException– An internal error occurred. Retry the request. -
AccessDenied– The caller isn't authorized to perform the action on the specified job.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
A message that describes the reason the job couldn't be terminated.
- Parameters:
message- A message that describes the reason the job couldn't be terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-