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: Launch
Terminate HealthCheck ReplaceUnhealthy
AZRebalance AlarmNotification
ScheduledActions AddToLoadBalancer
|
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: Launch
Terminate HealthCheck ReplaceUnhealthy
AZRebalance AlarmNotification
ScheduledActions AddToLoadBalancer
|
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: Launch
Terminate HealthCheck ReplaceUnhealthy
AZRebalance AlarmNotification
ScheduledActions AddToLoadBalancer
|
SuspendProcessesRequest |
withScalingProcesses(String... scalingProcesses)
One or more of the following processes: Launch
Terminate HealthCheck ReplaceUnhealthy
AZRebalance AlarmNotification
ScheduledActions AddToLoadBalancer
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, 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()
public void setScalingProcesses(Collection<String> scalingProcesses)
scalingProcesses
- One or more of the following processes: public SuspendProcessesRequest withScalingProcesses(String... scalingProcesses)
Returns a reference to this object so that method calls can be chained together.
scalingProcesses
- One or more of the following processes: public SuspendProcessesRequest withScalingProcesses(Collection<String> scalingProcesses)
Returns a reference to this object so that method calls can be chained together.
scalingProcesses
- One or more of the following processes: public String toString()
toString
in class Object
Object.toString()
public SuspendProcessesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.