@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceRefresh extends Object implements Serializable, Cloneable
Describes an instance refresh for an Auto Scaling group.
Constructor and Description |
---|
InstanceRefresh() |
Modifier and Type | Method and Description |
---|---|
InstanceRefresh |
clone() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
DesiredConfiguration |
getDesiredConfiguration()
Describes the desired configuration for the instance refresh.
|
Date |
getEndTime()
The date and time at which the instance refresh ended.
|
String |
getInstanceRefreshId()
The instance refresh ID.
|
Integer |
getInstancesToUpdate()
The number of instances remaining to update before the instance refresh is complete.
|
Integer |
getPercentageComplete()
The percentage of the instance refresh that is complete.
|
RefreshPreferences |
getPreferences()
The preferences for an instance refresh.
|
InstanceRefreshProgressDetails |
getProgressDetails()
Additional progress details for an Auto Scaling group that has a warm pool.
|
RollbackDetails |
getRollbackDetails()
The rollback details.
|
Date |
getStartTime()
The date and time at which the instance refresh began.
|
String |
getStatus()
The current status for the instance refresh operation:
|
String |
getStatusReason()
The explanation for the specific status assigned to this operation.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the desired configuration for the instance refresh.
|
void |
setEndTime(Date endTime)
The date and time at which the instance refresh ended.
|
void |
setInstanceRefreshId(String instanceRefreshId)
The instance refresh ID.
|
void |
setInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
|
void |
setPercentageComplete(Integer percentageComplete)
The percentage of the instance refresh that is complete.
|
void |
setPreferences(RefreshPreferences preferences)
The preferences for an instance refresh.
|
void |
setProgressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
|
void |
setRollbackDetails(RollbackDetails rollbackDetails)
The rollback details.
|
void |
setStartTime(Date startTime)
The date and time at which the instance refresh began.
|
void |
setStatus(String status)
The current status for the instance refresh operation:
|
void |
setStatusReason(String statusReason)
The explanation for the specific status assigned to this operation.
|
String |
toString()
Returns a string representation of this object.
|
InstanceRefresh |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
InstanceRefresh |
withDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the desired configuration for the instance refresh.
|
InstanceRefresh |
withEndTime(Date endTime)
The date and time at which the instance refresh ended.
|
InstanceRefresh |
withInstanceRefreshId(String instanceRefreshId)
The instance refresh ID.
|
InstanceRefresh |
withInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
|
InstanceRefresh |
withPercentageComplete(Integer percentageComplete)
The percentage of the instance refresh that is complete.
|
InstanceRefresh |
withPreferences(RefreshPreferences preferences)
The preferences for an instance refresh.
|
InstanceRefresh |
withProgressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
|
InstanceRefresh |
withRollbackDetails(RollbackDetails rollbackDetails)
The rollback details.
|
InstanceRefresh |
withStartTime(Date startTime)
The date and time at which the instance refresh began.
|
InstanceRefresh |
withStatus(InstanceRefreshStatus status)
The current status for the instance refresh operation:
|
InstanceRefresh |
withStatus(String status)
The current status for the instance refresh operation:
|
InstanceRefresh |
withStatusReason(String statusReason)
The explanation for the specific status assigned to this operation.
|
public void setInstanceRefreshId(String instanceRefreshId)
The instance refresh ID.
instanceRefreshId
- The instance refresh ID.public String getInstanceRefreshId()
The instance refresh ID.
public InstanceRefresh withInstanceRefreshId(String instanceRefreshId)
The instance refresh ID.
instanceRefreshId
- The instance refresh ID.public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public InstanceRefresh withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setStatus(String status)
The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status reason and
the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
status
- The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status
reason and the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
InstanceRefreshStatus
public String getStatus()
The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status reason and
the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status
reason and the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status
reason and the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
InstanceRefreshStatus
public InstanceRefresh withStatus(String status)
The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status reason and
the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
status
- The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status
reason and the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
InstanceRefreshStatus
public InstanceRefresh withStatus(InstanceRefreshStatus status)
The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status reason and
the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
status
- The current status for the instance refresh operation:
Pending
- The request was created, but the instance refresh has not started.
InProgress
- An instance refresh is in progress.
Successful
- An instance refresh completed successfully.
Failed
- An instance refresh failed to complete. You can troubleshoot using the status reason
and the scaling activities.
Cancelling
- An ongoing instance refresh is being cancelled.
Cancelled
- The instance refresh is cancelled.
RollbackInProgress
- An instance refresh is being rolled back.
RollbackFailed
- The rollback failed to complete. You can troubleshoot using the status
reason and the scaling activities.
RollbackSuccessful
- The rollback completed successfully.
InstanceRefreshStatus
public void setStatusReason(String statusReason)
The explanation for the specific status assigned to this operation.
statusReason
- The explanation for the specific status assigned to this operation.public String getStatusReason()
The explanation for the specific status assigned to this operation.
public InstanceRefresh withStatusReason(String statusReason)
The explanation for the specific status assigned to this operation.
statusReason
- The explanation for the specific status assigned to this operation.public void setStartTime(Date startTime)
The date and time at which the instance refresh began.
startTime
- The date and time at which the instance refresh began.public Date getStartTime()
The date and time at which the instance refresh began.
public InstanceRefresh withStartTime(Date startTime)
The date and time at which the instance refresh began.
startTime
- The date and time at which the instance refresh began.public void setEndTime(Date endTime)
The date and time at which the instance refresh ended.
endTime
- The date and time at which the instance refresh ended.public Date getEndTime()
The date and time at which the instance refresh ended.
public InstanceRefresh withEndTime(Date endTime)
The date and time at which the instance refresh ended.
endTime
- The date and time at which the instance refresh ended.public void setPercentageComplete(Integer percentageComplete)
The percentage of the instance refresh that is complete. 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
does not include instances that are replaced during a rollback. This value
gradually goes back down to zero during a rollback.
percentageComplete
- The percentage of the instance refresh that is complete. 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
does not include instances that are replaced during a rollback. This value
gradually goes back down to zero during a rollback.
public Integer getPercentageComplete()
The percentage of the instance refresh that is complete. 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
does not include instances that are replaced during a rollback. This value
gradually goes back down to zero during a rollback.
PercentageComplete
does not include instances that are replaced during a rollback. This
value gradually goes back down to zero during a rollback.
public InstanceRefresh withPercentageComplete(Integer percentageComplete)
The percentage of the instance refresh that is complete. 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
does not include instances that are replaced during a rollback. This value
gradually goes back down to zero during a rollback.
percentageComplete
- The percentage of the instance refresh that is complete. 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
does not include instances that are replaced during a rollback. This value
gradually goes back down to zero during a rollback.
public void setInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate
shows you the number of instances that were
not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of the
rollback.
instancesToUpdate
- The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate
shows you the number of instances
that were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as
part of the rollback.
public Integer getInstancesToUpdate()
The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate
shows you the number of instances that were
not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of the
rollback.
If you roll back the instance refresh, InstancesToUpdate
shows you the number of instances
that were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced
as part of the rollback.
public InstanceRefresh withInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate
shows you the number of instances that were
not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of the
rollback.
instancesToUpdate
- The number of instances remaining to update before the instance refresh is complete.
If you roll back the instance refresh, InstancesToUpdate
shows you the number of instances
that were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as
part of the rollback.
public void setProgressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
progressDetails
- Additional progress details for an Auto Scaling group that has a warm pool.public InstanceRefreshProgressDetails getProgressDetails()
Additional progress details for an Auto Scaling group that has a warm pool.
public InstanceRefresh withProgressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
progressDetails
- Additional progress details for an Auto Scaling group that has a warm pool.public void setPreferences(RefreshPreferences preferences)
The preferences for an instance refresh.
preferences
- The preferences for an instance refresh.public RefreshPreferences getPreferences()
The preferences for an instance refresh.
public InstanceRefresh withPreferences(RefreshPreferences preferences)
The preferences for an instance refresh.
preferences
- The preferences for an instance refresh.public void setDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the desired configuration for the instance refresh.
desiredConfiguration
- Describes the desired configuration for the instance refresh.public DesiredConfiguration getDesiredConfiguration()
Describes the desired configuration for the instance refresh.
public InstanceRefresh withDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the desired configuration for the instance refresh.
desiredConfiguration
- Describes the desired configuration for the instance refresh.public void setRollbackDetails(RollbackDetails rollbackDetails)
The rollback details.
rollbackDetails
- The rollback details.public RollbackDetails getRollbackDetails()
The rollback details.
public InstanceRefresh withRollbackDetails(RollbackDetails rollbackDetails)
The rollback details.
rollbackDetails
- The rollback details.public String toString()
toString
in class Object
Object.toString()
public InstanceRefresh clone()