@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RefreshPreferences extends Object implements Serializable, Cloneable
Describes information used to start an instance refresh.
| Constructor and Description |
|---|
RefreshPreferences() |
| Modifier and Type | Method and Description |
|---|---|
RefreshPreferences |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceWarmup()
The number of seconds until a newly launched instance is configured and ready to use.
|
Integer |
getMinHealthyPercentage()
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).
|
int |
hashCode() |
void |
setInstanceWarmup(Integer instanceWarmup)
The number of seconds until a newly launched instance is configured and ready to use.
|
void |
setMinHealthyPercentage(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).
|
String |
toString()
Returns a string representation of this object.
|
RefreshPreferences |
withInstanceWarmup(Integer instanceWarmup)
The number of seconds until a newly launched instance is configured and ready to use.
|
RefreshPreferences |
withMinHealthyPercentage(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).
|
public void setMinHealthyPercentage(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.public Integer getMinHealthyPercentage()
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.
90.public RefreshPreferences withMinHealthyPercentage(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.public void setInstanceWarmup(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.public Integer getInstanceWarmup()
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.
public RefreshPreferences withInstanceWarmup(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.public String toString()
toString in class ObjectObject.toString()public RefreshPreferences clone()
Copyright © 2020. All rights reserved.