Interface TerminateServiceJobsErrorDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TerminateServiceJobsErrorDetail.Builder,,TerminateServiceJobsErrorDetail> SdkBuilder<TerminateServiceJobsErrorDetail.Builder,,TerminateServiceJobsErrorDetail> SdkPojo
- Enclosing class:
TerminateServiceJobsErrorDetail
-
Method Summary
Modifier and TypeMethodDescriptionAn error code that identifies the reason the service job couldn't be terminated.The service job ID of the service job that couldn't be terminated.A message that describes the reason the service 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 service job ID of the service job that couldn't be terminated.
- Parameters:
job- The service job ID of the service 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 service job couldn't be terminated. Valid values are:
-
ValidationException– A service 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 service job.
- Parameters:
code- An error code that identifies the reason the service job couldn't be terminated. Valid values are:-
ValidationException– A service 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 service job.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
message
A message that describes the reason the service job couldn't be terminated.
- Parameters:
message- A message that describes the reason the service job couldn't be terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-