Interface ComputeScalingPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeScalingPolicy.Builder,ComputeScalingPolicy>,SdkBuilder<ComputeScalingPolicy.Builder,ComputeScalingPolicy>,SdkPojo
- Enclosing class:
- ComputeScalingPolicy
@Mutable @NotThreadSafe public static interface ComputeScalingPolicy.Builder extends SdkPojo, CopyableBuilder<ComputeScalingPolicy.Builder,ComputeScalingPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComputeScalingPolicy.BuilderminScaleDownDelayMinutes(Integer minScaleDownDelayMinutes)The minimum time (in minutes) that Batch keeps instances running in the compute environment after their jobs complete.-
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
-
minScaleDownDelayMinutes
ComputeScalingPolicy.Builder minScaleDownDelayMinutes(Integer minScaleDownDelayMinutes)
The minimum time (in minutes) that Batch keeps instances running in the compute environment after their jobs complete. For each instance, the delay period begins when the last job finishes. If no new jobs are placed on the instance during this delay, Batch terminates the instance once the delay expires.
Valid Range: Minimum value of 20. Maximum value of 10080. Use 0 to unset and disable the scale down delay.
The scale down delay does not apply to:
-
Instances being replaced during infrastructure updates
-
Newly launched instances that have not yet run any jobs
-
Spot instances reclaimed due to interruption
- Parameters:
minScaleDownDelayMinutes- The minimum time (in minutes) that Batch keeps instances running in the compute environment after their jobs complete. For each instance, the delay period begins when the last job finishes. If no new jobs are placed on the instance during this delay, Batch terminates the instance once the delay expires.Valid Range: Minimum value of 20. Maximum value of 10080. Use 0 to unset and disable the scale down delay.
The scale down delay does not apply to:
-
Instances being replaced during infrastructure updates
-
Newly launched instances that have not yet run any jobs
-
Spot instances reclaimed due to interruption
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-