public class DeleteStackRequest extends AmazonWebServiceRequest implements Serializable
DeleteStack operation
.
Deletes a specified stack. You must first delete all instances, layers, and apps. For more information, see Shut Down a Stack .
Required Permissions : To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions .
NOOP
Constructor and Description |
---|
DeleteStackRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setStackId(String stackId)
The stack ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteStackRequest |
withStackId(String stackId)
The stack ID.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getStackId()
public void setStackId(String stackId)
stackId
- The stack ID.public DeleteStackRequest withStackId(String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId
- The stack ID.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.