public class SuspendProcessesRequest extends AmazonWebServiceRequest implements Serializable
SuspendProcesses operation
.
Suspends Auto Scaling processes for an Auto Scaling group. To suspend specific process types, specify them by name with the
ScalingProcesses.member.N
parameter. To suspend all process types, omit the ScalingProcesses.member.N
parameter.
IMPORTANT: Suspending either of the two primary process types, Launch or Terminate, can prevent other process types from functioning properly. For more information about processes and their dependencies, see ProcessType.
To resume processes that have been suspended, use ResumeProcesses.
Constructor and Description |
---|
SuspendProcessesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
|
List<String> |
getScalingProcesses()
The processes that you want to suspend or resume, which can include
one or more of the following: 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)
The processes that you want to suspend or resume, which can include
one or more of the following: 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)
The processes that you want to suspend or resume, which can include
one or more of the following: Launch Terminate
HealthCheck ReplaceUnhealthy AZRebalance
AlarmNotification ScheduledActions
AddToLoadBalancer
|
SuspendProcessesRequest |
withScalingProcesses(String... scalingProcesses)
The processes that you want to suspend or resume, which can include
one or more of the following: Launch Terminate
HealthCheck ReplaceUnhealthy AZRebalance
AlarmNotification ScheduledActions
AddToLoadBalancer
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\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: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name or Amazon Resource Name (ARN) of the Auto Scaling group.public List<String> getScalingProcesses()
To suspend all process types, omit this parameter.
To suspend all process types, omit this parameter.
public void setScalingProcesses(Collection<String> scalingProcesses)
To suspend all process types, omit this parameter.
scalingProcesses
- The processes that you want to suspend or resume, which can include
one or more of the following: To suspend all process types, omit this parameter.
public SuspendProcessesRequest withScalingProcesses(String... scalingProcesses)
To suspend all process types, omit this parameter.
Returns a reference to this object so that method calls can be chained together.
scalingProcesses
- The processes that you want to suspend or resume, which can include
one or more of the following: To suspend all process types, omit this parameter.
public SuspendProcessesRequest withScalingProcesses(Collection<String> scalingProcesses)
To suspend all process types, omit this parameter.
Returns a reference to this object so that method calls can be chained together.
scalingProcesses
- The processes that you want to suspend or resume, which can include
one or more of the following: To suspend all process types, omit this parameter.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.