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
Modifier and TypeMethodDescriptionpreemptionRetriesBeforeTermination(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-