public class DeleteAutoScalingGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DeleteAutoScalingGroup operation
.
Deletes the specified Auto Scaling group.
The group must have no instances and no scaling activities in progress.
To remove all instances before calling
DeleteAutoScalingGroup
,
call UpdateAutoScalingGroup to set the minimum and maximum
size of the Auto Scaling group to zero.
NOOP
Constructor and Description |
---|
DeleteAutoScalingGroupRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAutoScalingGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the group to delete.
|
Boolean |
getForceDelete()
Specifies that the group will be deleted along with all instances
associated with the group, without waiting for all instances to be
terminated.
|
int |
hashCode() |
Boolean |
isForceDelete()
Specifies that the 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 group to delete.
|
void |
setForceDelete(Boolean forceDelete)
Specifies that the 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 group to delete.
|
DeleteAutoScalingGroupRequest |
withForceDelete(Boolean forceDelete)
Specifies that the group will be deleted along with all instances
associated with the group, without waiting for all instances to be
terminated.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the 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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the group to delete.public Boolean isForceDelete()
public void setForceDelete(Boolean forceDelete)
forceDelete
- Specifies that the group will be deleted along with all instances
associated with the group, without waiting for all instances to be
terminated. This parameter also deletes any lifecycle actions
associated with the group.public DeleteAutoScalingGroupRequest withForceDelete(Boolean forceDelete)
Returns a reference to this object so that method calls can be chained together.
forceDelete
- Specifies that the group will be deleted along with all instances
associated with the group, without waiting for all instances to be
terminated. This parameter also deletes any lifecycle actions
associated with the group.public Boolean getForceDelete()
public String toString()
toString
in class Object
Object.toString()
public DeleteAutoScalingGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.