@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 specific update you want to deploy.
|
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() |
InstanceRefreshProgressDetails |
getProgressDetails()
Additional progress details for an Auto Scaling group that has a warm pool.
|
Date |
getStartTime()
The date and time at which the instance refresh began.
|
String |
getStatus()
The current status for the instance refresh operation:
|
String |
getStatusReason()
Provides more details about the current status of the instance refresh.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the specific update you want to deploy.
|
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) |
void |
setProgressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
|
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)
Provides more details about the current status of the instance refresh.
|
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 specific update you want to deploy.
|
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) |
InstanceRefresh |
withProgressDetails(InstanceRefreshProgressDetails progressDetails)
Additional progress details for an Auto Scaling group that has a warm pool.
|
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)
Provides more details about the current status of the instance refresh.
|
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 operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and the
scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
status
- The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
InstanceRefreshStatus
public String getStatus()
The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and the
scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
InstanceRefreshStatus
public InstanceRefresh withStatus(String status)
The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and the
scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
status
- The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
InstanceRefreshStatus
public InstanceRefresh withStatus(InstanceRefreshStatus status)
The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and the
scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
status
- The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.
InProgress
- The operation is in progress.
Successful
- The operation completed successfully.
Failed
- The operation failed to complete. You can troubleshoot using the status reason and
the scaling activities.
Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any
replacements that have already been completed, but it prevents new replacements from being started.
Cancelled
- The operation is cancelled.
InstanceRefreshStatus
public void setStatusReason(String statusReason)
Provides more details about the current status of the instance refresh.
statusReason
- Provides more details about the current status of the instance refresh.public String getStatusReason()
Provides more details about the current status of the instance refresh.
public InstanceRefresh withStatusReason(String statusReason)
Provides more details about the current status of the instance refresh.
statusReason
- Provides more details about the current status of the instance refresh.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
- 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.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.
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
- 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.public void setInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
instancesToUpdate
- The number of instances remaining to update before the instance refresh is complete.public Integer getInstancesToUpdate()
The number of instances remaining to update before the instance refresh is complete.
public InstanceRefresh withInstancesToUpdate(Integer instancesToUpdate)
The number of instances remaining to update before the instance refresh is complete.
instancesToUpdate
- The number of instances remaining to update before the instance refresh is complete.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)
preferences
- public RefreshPreferences getPreferences()
public InstanceRefresh withPreferences(RefreshPreferences preferences)
preferences
- public void setDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the specific update you want to deploy.
desiredConfiguration
- Describes the specific update you want to deploy.public DesiredConfiguration getDesiredConfiguration()
Describes the specific update you want to deploy.
public InstanceRefresh withDesiredConfiguration(DesiredConfiguration desiredConfiguration)
Describes the specific update you want to deploy.
desiredConfiguration
- Describes the specific update you want to deploy.public String toString()
toString
in class Object
Object.toString()
public InstanceRefresh clone()
Copyright © 2023. All rights reserved.