Class ServiceJobPreemptedAttempt
- java.lang.Object
-
- software.amazon.awssdk.services.batch.model.ServiceJobPreemptedAttempt
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceJobPreemptedAttempt.Builder,ServiceJobPreemptedAttempt>
@Generated("software.amazon.awssdk:codegen") public final class ServiceJobPreemptedAttempt extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceJobPreemptedAttempt.Builder,ServiceJobPreemptedAttempt>
Detailed information about a preempted attempt of a service job.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceJobPreemptedAttempt.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceJobPreemptedAttempt.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ServiceJobPreemptedAttempt.Builder>serializableBuilderClass()ServiceResourceIdserviceResourceId()The service resource identifier associated with the service job attempt.LongstartedAt()The Unix timestamp (in milliseconds) for when the service job attempt was started.StringstatusReason()A string that provides additional details for the current status of the service job attempt.LongstoppedAt()The Unix timestamp (in milliseconds) for when the service job attempt stopped running.ServiceJobPreemptedAttempt.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceResourceId
public final ServiceResourceId serviceResourceId()
The service resource identifier associated with the service job attempt.
- Returns:
- The service resource identifier associated with the service job attempt.
-
startedAt
public final Long startedAt()
The Unix timestamp (in milliseconds) for when the service job attempt was started.
- Returns:
- The Unix timestamp (in milliseconds) for when the service job attempt was started.
-
stoppedAt
public final Long stoppedAt()
The Unix timestamp (in milliseconds) for when the service job attempt stopped running.
- Returns:
- The Unix timestamp (in milliseconds) for when the service job attempt stopped running.
-
statusReason
public final String statusReason()
A string that provides additional details for the current status of the service job attempt.
- Returns:
- A string that provides additional details for the current status of the service job attempt.
-
toBuilder
public ServiceJobPreemptedAttempt.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceJobPreemptedAttempt.Builder,ServiceJobPreemptedAttempt>
-
builder
public static ServiceJobPreemptedAttempt.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceJobPreemptedAttempt.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-