com.amazonaws.services.autoscaling.model
Class DeleteAutoScalingGroupRequest

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

public class DeleteAutoScalingGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteAutoScalingGroup operation.

Deletes all configuration for the specified AutoScalingGroup and deletes the group.

In order to successfully call this API, no triggers can be currently in progress. Once this call successfully executes, no further triggers will begin, and the specified AutoScalingGroup will not be available for use in other API calls.

NOTE: The client cannot delete an AutoScalingGroup if it contains instances or if there are scaling activities in progress. Before attempting to delete an AutoScalingGroup, call the UpdateAutoScalingGroup operation to set the minimum and maximum size of the AutoScalingGroup to zero. This will remove all instances and avoid problems with a previously set trigger preventing the deletion of the AutoScalingGroup.

See Also:
AmazonAutoScaling.deleteAutoScalingGroup(DeleteAutoScalingGroupRequest)

Constructor Summary
DeleteAutoScalingGroupRequest()
           
 
Method Summary
 String getAutoScalingGroupName()
           Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
 void setAutoScalingGroupName(String autoScalingGroupName)
           Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteAutoScalingGroupRequest

public DeleteAutoScalingGroupRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()

Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*

Returns:

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)

Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*

Parameters:
autoScalingGroupName -

withAutoScalingGroupName

public DeleteAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)

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

Constraints:
Length: 1 - 100
Pattern: [ -??-??-?\r\n\t]*

Parameters:
autoScalingGroupName -
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()


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