com.amazonaws.services.autoscaling.model
Class SuspendProcessesRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.SuspendProcessesRequest

public class SuspendProcessesRequest
extends AmazonWebServiceRequest

Container for the parameters to the 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.

See Also:
AmazonAutoScaling.suspendProcesses(SuspendProcessesRequest)

Constructor Summary
SuspendProcessesRequest()
           
 
Method Summary
 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
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuspendProcessesRequest

public SuspendProcessesRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name or Amazon Resource Name (ARN) of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name or Amazon Resource Name (ARN) of the Auto Scaling group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name or Amazon Resource Name (ARN) of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name or Amazon Resource Name (ARN) of the Auto Scaling group.

withAutoScalingGroupName

public SuspendProcessesRequest withAutoScalingGroupName(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]*

Parameters:
autoScalingGroupName - The name or Amazon Resource Name (ARN) of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getScalingProcesses

public List<String> getScalingProcesses()
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.

Returns:
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

To suspend all process types, omit this parameter.


setScalingProcesses

public void setScalingProcesses(Collection<String> 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.

Parameters:
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

To suspend all process types, omit this parameter.


withScalingProcesses

public SuspendProcessesRequest withScalingProcesses(String... 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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

To suspend all process types, omit this parameter.

Returns:
A reference to this updated object so that method calls can be chained together.

withScalingProcesses

public SuspendProcessesRequest withScalingProcesses(Collection<String> 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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

To suspend all process types, omit this parameter.

Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.