@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceRefreshWarmPoolProgress extends Object implements Serializable, Cloneable
Reports progress on replacing instances that are in the warm pool.
Constructor and Description |
---|
InstanceRefreshWarmPoolProgress() |
Modifier and Type | Method and Description |
---|---|
InstanceRefreshWarmPoolProgress |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstancesToUpdate()
The number of instances remaining to update.
|
Integer |
getPercentageComplete()
The percentage of instances in the warm pool that have been replaced.
|
int |
hashCode() |
void |
setInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update.
|
void |
setPercentageComplete(Integer percentageComplete)
The percentage of instances in the warm pool that have been replaced.
|
String |
toString()
Returns a string representation of this object.
|
InstanceRefreshWarmPoolProgress |
withInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update.
|
InstanceRefreshWarmPoolProgress |
withPercentageComplete(Integer percentageComplete)
The percentage of instances in the warm pool that have been replaced.
|
public void setPercentageComplete(Integer percentageComplete)
The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
percentageComplete
- The percentage of instances in the warm pool that have been replaced. For each instance replacement,
Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health
status changes to healthy and the specified warm-up time passes, the instance is considered updated and is
added to the percentage complete.public Integer getPercentageComplete()
The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
public InstanceRefreshWarmPoolProgress withPercentageComplete(Integer percentageComplete)
The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
percentageComplete
- The percentage of instances in the warm pool that have been replaced. For each instance replacement,
Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health
status changes to healthy and the specified warm-up time passes, the instance is considered updated and is
added to the percentage complete.public void setInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update.
instancesToUpdate
- The number of instances remaining to update.public Integer getInstancesToUpdate()
The number of instances remaining to update.
public InstanceRefreshWarmPoolProgress withInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update.
instancesToUpdate
- The number of instances remaining to update.public String toString()
toString
in class Object
Object.toString()
public InstanceRefreshWarmPoolProgress clone()