Interface ServiceJobPreemptionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceJobPreemptionConfiguration.Builder,ServiceJobPreemptionConfiguration>,SdkBuilder<ServiceJobPreemptionConfiguration.Builder,ServiceJobPreemptionConfiguration>,SdkPojo
- Enclosing class:
- ServiceJobPreemptionConfiguration
@Mutable @NotThreadSafe public static interface ServiceJobPreemptionConfiguration.Builder extends SdkPojo, CopyableBuilder<ServiceJobPreemptionConfiguration.Builder,ServiceJobPreemptionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceJobPreemptionConfiguration.BuilderpreemptionRetriesBeforeTermination(Integer preemptionRetriesBeforeTermination)The number of times a service job can be retried after it is preempted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
preemptionRetriesBeforeTermination
ServiceJobPreemptionConfiguration.Builder preemptionRetriesBeforeTermination(Integer 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
-