Class SuspendProcessesRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.SuspendProcessesRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class SuspendProcessesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • SuspendProcessesRequest

      public SuspendProcessesRequest()
  • Method Details

    • setAutoScalingGroupName

      public void setAutoScalingGroupName(String autoScalingGroupName)

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

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

      public String getAutoScalingGroupName()

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

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

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

      public List<String> getScalingProcesses()

      One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

      Returns:
      One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

    • setScalingProcesses

      public void setScalingProcesses(Collection<String> scalingProcesses)

      One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

      Parameters:
      scalingProcesses - One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

    • withScalingProcesses

      public SuspendProcessesRequest withScalingProcesses(String... scalingProcesses)

      One or more of the following processes:

      • 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.

      Parameters:
      scalingProcesses - One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

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

      public SuspendProcessesRequest withScalingProcesses(Collection<String> scalingProcesses)

      One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

      Parameters:
      scalingProcesses - One or more of the following processes:

      • Launch

      • Terminate

      • HealthCheck

      • ReplaceUnhealthy

      • AZRebalance

      • AlarmNotification

      • ScheduledActions

      • AddToLoadBalancer

      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SuspendProcessesRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: