com.amazonaws.services.autoscaling.model
Class DeleteAutoScalingGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.DeleteAutoScalingGroupRequest
All Implemented Interfaces:
java.io.Serializable

public class DeleteAutoScalingGroupRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

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), Serialized Form

Constructor Summary
DeleteAutoScalingGroupRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAutoScalingGroupName()
          The name of the Auto Scaling group to delete.
 java.lang.Boolean getForceDelete()
          Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.
 int hashCode()
           
 java.lang.Boolean isForceDelete()
          Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.
 void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
          The name of the Auto Scaling group to delete.
 void setForceDelete(java.lang.Boolean forceDelete)
          Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteAutoScalingGroupRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
          The name of the Auto Scaling group to delete.
 DeleteAutoScalingGroupRequest withForceDelete(java.lang.Boolean forceDelete)
          Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteAutoScalingGroupRequest

public DeleteAutoScalingGroupRequest()
Method Detail

getAutoScalingGroupName

public java.lang.String getAutoScalingGroupName()
The name of the Auto Scaling group to delete.

Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Returns:
The name of the Auto Scaling group to delete.

setAutoScalingGroupName

public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group to delete.

Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

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

withAutoScalingGroupName

public DeleteAutoScalingGroupRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group to delete.

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

Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group to delete.
Returns:
A reference to this updated object so that method calls can be chained together.

isForceDelete

public java.lang.Boolean isForceDelete()
Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

Returns:
Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

setForceDelete

public void setForceDelete(java.lang.Boolean forceDelete)
Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

Parameters:
forceDelete - Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

withForceDelete

public DeleteAutoScalingGroupRequest withForceDelete(java.lang.Boolean forceDelete)
Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

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

Parameters:
forceDelete - Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.
Returns:
A reference to this updated object so that method calls can be chained together.

getForceDelete

public java.lang.Boolean getForceDelete()
Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

Returns:
Starting with API version 2011-01-01, specifies that the Auto Scaling group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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