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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ServiceJobPreemptedAttempt.Builder>final ServiceResourceIdThe service resource identifier associated with the service job attempt.final LongThe Unix timestamp (in milliseconds) for when the service job attempt was started.final StringA string that provides additional details for the current status of the service job attempt.final LongThe Unix timestamp (in milliseconds) for when the service job attempt stopped running.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
-
serviceResourceId
The service resource identifier associated with the service job attempt.
- Returns:
- The service resource identifier associated with the service job attempt.
-
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
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
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
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceJobPreemptedAttempt.Builder,ServiceJobPreemptedAttempt>
-
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
-