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 the specified auto scaling group if the group has no instances and no scaling activities in progress.

NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.

See Also:
AmazonAutoScaling.deleteAutoScalingGroup(DeleteAutoScalingGroupRequest)

Constructor Summary
DeleteAutoScalingGroupRequest()
           
 
Method Summary
 String getAutoScalingGroupName()
          The name of the Auto Scaling group.
 void setAutoScalingGroupName(String autoScalingGroupName)
          The name of the Auto Scaling group.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
          The name of the Auto Scaling group.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
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()
The name of the Auto Scaling group.

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

Returns:
The name of the Auto Scaling group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.

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

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.

withAutoScalingGroupName

public DeleteAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
The name 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 of the Auto Scaling group.
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.