@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() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
DesiredConfiguration |
getDesiredConfiguration()
The desired configuration.
|
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 |
setDesiredConfiguration(DesiredConfiguration desiredConfiguration)
The desired configuration.
|
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 |
withDesiredConfiguration(DesiredConfiguration desiredConfiguration)
The desired configuration.
|
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, copyBaseTo, 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, withSdkRequestTimeoutpublic 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 helps you update your instances gradually. 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 are 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 helps you update your instances gradually. 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 are replaced are not rolled back to their previous configuration.
RefreshStrategypublic String getStrategy()
The strategy to use for the instance refresh. The only valid value is Rolling.
A rolling update helps you update your instances gradually. 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 are replaced are not rolled back to their previous configuration.
Rolling.
A rolling update helps you update your instances gradually. 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 are replaced are not rolled back to their previous configuration.
RefreshStrategypublic StartInstanceRefreshRequest withStrategy(String strategy)
The strategy to use for the instance refresh. The only valid value is Rolling.
A rolling update helps you update your instances gradually. 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 are 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 helps you update your instances gradually. 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 are replaced are not rolled back to their previous configuration.
RefreshStrategypublic StartInstanceRefreshRequest withStrategy(RefreshStrategy strategy)
The strategy to use for the instance refresh. The only valid value is Rolling.
A rolling update helps you update your instances gradually. 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 are 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 helps you update your instances gradually. 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 are replaced are not rolled back to their previous configuration.
RefreshStrategypublic void setDesiredConfiguration(DesiredConfiguration desiredConfiguration)
The desired configuration. For example, the desired configuration can specify a new launch template or a new version of the current launch template.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the SkipMatching property in preferences. If it's enabled, Amazon
EC2 Auto Scaling skips replacing instances that already use the specified launch template and version. This can
help you reduce the number of replacements that are required to apply updates.
desiredConfiguration - The desired configuration. For example, the desired configuration can specify a new launch template or a
new version of the current launch template.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the SkipMatching property in preferences. If it's enabled,
Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and
version. This can help you reduce the number of replacements that are required to apply updates.
public DesiredConfiguration getDesiredConfiguration()
The desired configuration. For example, the desired configuration can specify a new launch template or a new version of the current launch template.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the SkipMatching property in preferences. If it's enabled, Amazon
EC2 Auto Scaling skips replacing instances that already use the specified launch template and version. This can
help you reduce the number of replacements that are required to apply updates.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the SkipMatching property in preferences. If it's enabled,
Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and
version. This can help you reduce the number of replacements that are required to apply updates.
public StartInstanceRefreshRequest withDesiredConfiguration(DesiredConfiguration desiredConfiguration)
The desired configuration. For example, the desired configuration can specify a new launch template or a new version of the current launch template.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the SkipMatching property in preferences. If it's enabled, Amazon
EC2 Auto Scaling skips replacing instances that already use the specified launch template and version. This can
help you reduce the number of replacements that are required to apply updates.
desiredConfiguration - The desired configuration. For example, the desired configuration can specify a new launch template or a
new version of the current launch template.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current launch template for your desired
configuration, consider enabling the SkipMatching property in preferences. If it's enabled,
Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and
version. This can help you reduce the number of replacements that are required to apply updates.
public void setPreferences(RefreshPreferences preferences)
Set of preferences associated with the instance refresh request. If not provided, the default values are used.
preferences - Set of preferences associated with the instance refresh request. If not provided, the default values are
used.public RefreshPreferences getPreferences()
Set of preferences associated with the instance refresh request. If not provided, the default values are used.
public StartInstanceRefreshRequest withPreferences(RefreshPreferences preferences)
Set of preferences associated with the instance refresh request. If not provided, the default values are used.
preferences - Set of preferences associated with the instance refresh request. If not provided, the default values are
used.public String toString()
toString in class ObjectObject.toString()public StartInstanceRefreshRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.