Class TerminateJobsErrorDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TerminateJobsErrorDetail.Builder,TerminateJobsErrorDetail>
An object that contains the details of a job that couldn't be terminated by a TerminateJobs operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final Stringcode()An error code that identifies the reason the job couldn't be terminated.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringjob()The Batch job ID of the job that couldn't be terminated.final Stringmessage()A message that describes the reason the job couldn't be terminated.static Class<? extends TerminateJobsErrorDetail.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
job
The Batch job ID of the job that couldn't be terminated.
- Returns:
- The Batch job ID of the job that couldn't be terminated.
-
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:
- 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.
-
-
-
message
A message that describes the reason the job couldn't be terminated.
- Returns:
- A message that describes the reason the job couldn't be terminated.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TerminateJobsErrorDetail.Builder,TerminateJobsErrorDetail>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-