public static interface RefreshPreferences.Builder extends SdkPojo, CopyableBuilder<RefreshPreferences.Builder,RefreshPreferences>
| Modifier and Type | Method and Description |
|---|---|
RefreshPreferences.Builder |
checkpointDelay(Integer checkpointDelay)
The amount of time, in seconds, to wait after a checkpoint before continuing.
|
RefreshPreferences.Builder |
checkpointPercentages(Collection<Integer> checkpointPercentages)
Threshold values for each checkpoint in ascending order.
|
RefreshPreferences.Builder |
checkpointPercentages(Integer... checkpointPercentages)
Threshold values for each checkpoint in ascending order.
|
RefreshPreferences.Builder |
instanceWarmup(Integer instanceWarmup)
The number of seconds until a newly launched instance is configured and ready to use.
|
RefreshPreferences.Builder |
minHealthyPercentage(Integer minHealthyPercentage)
The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow
the operation to continue, as a percentage of the desired capacity of the Auto Scaling group (rounded up to
the nearest integer).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRefreshPreferences.Builder minHealthyPercentage(Integer minHealthyPercentage)
The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh to allow
the operation to continue, as a percentage of the desired capacity of the Auto Scaling group (rounded up to
the nearest integer). The default is 90.
minHealthyPercentage - The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh
to allow the operation to continue, as a percentage of the desired capacity of the Auto Scaling group
(rounded up to the nearest integer). The default is 90.RefreshPreferences.Builder instanceWarmup(Integer instanceWarmup)
The number of seconds until a newly launched instance is configured and ready to use. During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The default is to use the value for the health check grace period defined for the group.
instanceWarmup - The number of seconds until a newly launched instance is configured and ready to use. During this
time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The default is to
use the value for the health check grace period defined for the group.RefreshPreferences.Builder checkpointPercentages(Collection<Integer> checkpointPercentages)
Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances
in the Auto Scaling group, the last number in the array must be 100.
For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
checkpointPercentages - Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all
instances in the Auto Scaling group, the last number in the array must be 100.
For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
RefreshPreferences.Builder checkpointPercentages(Integer... checkpointPercentages)
Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances
in the Auto Scaling group, the last number in the array must be 100.
For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
checkpointPercentages - Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all
instances in the Auto Scaling group, the last number in the array must be 100.
For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
RefreshPreferences.Builder checkpointDelay(Integer checkpointDelay)
The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but
if you specify a value for it, you must also specify a value for CheckpointPercentages. If you
specify a value for CheckpointPercentages and not for CheckpointDelay, the
CheckpointDelay defaults to 3600 (1 hour).
checkpointDelay - The amount of time, in seconds, to wait after a checkpoint before continuing. This property is
optional, but if you specify a value for it, you must also specify a value for
CheckpointPercentages. If you specify a value for CheckpointPercentages and
not for CheckpointDelay, the CheckpointDelay defaults to 3600
(1 hour).Copyright © 2021. All rights reserved.