@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartInstanceRefreshRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartInstanceRefreshRequest() |
Modifier and Type | Method and Description |
---|---|
StartInstanceRefreshRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
RefreshPreferences |
getPreferences()
Set of preferences associated with the instance refresh request.
|
String |
getStrategy()
The strategy to use for the instance refresh.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setPreferences(RefreshPreferences preferences)
Set of preferences associated with the instance refresh request.
|
void |
setStrategy(String strategy)
The strategy to use for the instance refresh.
|
String |
toString()
Returns a string representation of this object.
|
StartInstanceRefreshRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
StartInstanceRefreshRequest |
withPreferences(RefreshPreferences preferences)
Set of preferences associated with the instance refresh request.
|
StartInstanceRefreshRequest |
withStrategy(RefreshStrategy strategy)
The strategy to use for the instance refresh.
|
StartInstanceRefreshRequest |
withStrategy(String strategy)
The strategy to use for the instance refresh.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 StartInstanceRefreshRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setStrategy(String strategy)
The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
strategy
- The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
RefreshStrategy
public String getStrategy()
The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
RefreshStrategy
public StartInstanceRefreshRequest withStrategy(String strategy)
The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
strategy
- The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
RefreshStrategy
public StartInstanceRefreshRequest withStrategy(RefreshStrategy strategy)
The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
strategy
- The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale-in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
RefreshStrategy
public void setPreferences(RefreshPreferences preferences)
Set of preferences associated with the instance refresh request.
preferences
- Set of preferences associated with the instance refresh request.public RefreshPreferences getPreferences()
Set of preferences associated with the instance refresh request.
public StartInstanceRefreshRequest withPreferences(RefreshPreferences preferences)
Set of preferences associated with the instance refresh request.
preferences
- Set of preferences associated with the instance refresh request.public String toString()
toString
in class Object
Object.toString()
public StartInstanceRefreshRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.