Class TerminateServiceJobsErrorDetail

java.lang.Object
software.amazon.awssdk.services.batch.model.TerminateServiceJobsErrorDetail
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<TerminateServiceJobsErrorDetail.Builder,TerminateServiceJobsErrorDetail>

@Generated("software.amazon.awssdk:codegen") public final class TerminateServiceJobsErrorDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TerminateServiceJobsErrorDetail.Builder,TerminateServiceJobsErrorDetail>

An object that contains the details of a service job that couldn't be terminated by a TerminateServiceJobs operation.

See Also:
  • Method Details

    • job

      public final String job()

      The service job ID of the service job that couldn't be terminated.

      Returns:
      The service job ID of the service job that couldn't be terminated.
    • code

      public final String 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:
      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.

    • message

      public final String message()

      A message that describes the reason the service job couldn't be terminated.

      Returns:
      A message that describes the reason the service job couldn't be terminated.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<TerminateServiceJobsErrorDetail.Builder,TerminateServiceJobsErrorDetail>
    • builder

      public static TerminateServiceJobsErrorDetail.Builder builder()
    • serializableBuilderClass

      public static Class<? extends TerminateServiceJobsErrorDetail.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo