public class SuspendProcessesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
SuspendProcesses operation
.
Suspends the specified Auto Scaling processes for the specified Auto
Scaling group. To suspend specific processes, use the
ScalingProcesses
parameter. To suspend all processes,
omit the ScalingProcesses
parameter.
Note that if you suspend either the Launch
or
Terminate
process types, it can prevent other process
types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide .
NOOP
Constructor and Description |
---|
SuspendProcessesRequest() |
Modifier and Type | Method and Description |
---|---|
SuspendProcessesRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
List<String> |
getScalingProcesses()
One or more of the following processes:
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
void |
setScalingProcesses(Collection<String> scalingProcesses)
One or more of the following processes:
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuspendProcessesRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
SuspendProcessesRequest |
withScalingProcesses(Collection<String> scalingProcesses)
One or more of the following processes:
|
SuspendProcessesRequest |
withScalingProcesses(String... scalingProcesses)
One or more of the following processes:
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.public SuspendProcessesRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.public List<String> getScalingProcesses()
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
public void setScalingProcesses(Collection<String> scalingProcesses)
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
scalingProcesses
- One or more of the following processes: Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
public SuspendProcessesRequest withScalingProcesses(String... scalingProcesses)
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
NOTE: This method appends the values to the existing list (if
any). Use setScalingProcesses(java.util.Collection)
or withScalingProcesses(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
scalingProcesses
- One or more of the following processes: Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
public SuspendProcessesRequest withScalingProcesses(Collection<String> scalingProcesses)
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
Returns a reference to this object so that method calls can be chained together.
scalingProcesses
- One or more of the following processes: Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
public String toString()
toString
in class Object
Object.toString()
public SuspendProcessesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.