public class SuspendProcessesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.
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 Suspending and Resuming Auto Scaling Processes in the Auto Scaling Developer Guide.
Constructor and Description |
---|
SuspendProcessesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
java.util.List<java.lang.String> |
getScalingProcesses()
One or more of the following processes:
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
void |
setScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
One or more of the following processes:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SuspendProcessesRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
SuspendProcessesRequest |
withScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
One or more of the following processes:
|
SuspendProcessesRequest |
withScalingProcesses(java.lang.String... scalingProcesses)
One or more of the following processes:
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.
public SuspendProcessesRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.
public java.util.List<java.lang.String> getScalingProcesses()
One or more of the following processes:
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
One or more of the following processes:
Launch
Terminate
HealthCheck
ReplaceUnhealthy
AZRebalance
AlarmNotification
ScheduledActions
AddToLoadBalancer
public void setScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
One or more of the following processes:
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(java.lang.String... scalingProcesses)
One or more of the following processes:
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 SuspendProcessesRequest withScalingProcesses(java.util.Collection<java.lang.String> scalingProcesses)
One or more of the following processes:
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.