public class DeleteAutoScalingGroupRequest extends AmazonWebServiceRequest implements Serializable
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.
Constructor and Description |
---|
DeleteAutoScalingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group to delete.
|
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() |
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(String autoScalingGroupName)
The name of the Auto Scaling group to delete.
|
void |
setForceDelete(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.
|
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 to delete.
|
DeleteAutoScalingGroupRequest |
withForceDelete(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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group to delete.public DeleteAutoScalingGroupRequest withAutoScalingGroupName(String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group to delete.public Boolean isForceDelete()
public void setForceDelete(Boolean forceDelete)
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.public DeleteAutoScalingGroupRequest withForceDelete(Boolean forceDelete)
Returns a reference to this object so that method calls can be chained together.
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.public Boolean getForceDelete()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.