Class ServiceJobPreemptionConfiguration
java.lang.Object
software.amazon.awssdk.services.batch.model.ServiceJobPreemptionConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceJobPreemptionConfiguration.Builder,ServiceJobPreemptionConfiguration>
@Generated("software.amazon.awssdk:codegen")
public final class ServiceJobPreemptionConfiguration
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ServiceJobPreemptionConfiguration.Builder,ServiceJobPreemptionConfiguration>
Specifies the service job behavior when preempted.
- 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()final IntegerThe number of times a service job can be retried after it is preempted.static Class<? extends ServiceJobPreemptionConfiguration.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
-
preemptionRetriesBeforeTermination
The number of times a service job can be retried after it is preempted. A job will be terminated when preemption retries have been exhausted. If this field is unset, preempted jobs will be requeued an unlimited number of times.
- Returns:
- The number of times a service job can be retried after it is preempted. A job will be terminated when preemption retries have been exhausted. If this field is unset, preempted jobs will be requeued an unlimited number of times.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceJobPreemptionConfiguration.Builder,ServiceJobPreemptionConfiguration>
-
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
-