public class DescribeStacksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeStacks operation
.
Requests a description of one or more stacks.
Required Permissions : To use this action, an IAM user must have a Show, Deploy, or 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 |
---|
DescribeStacksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<String> |
getStackIds()
An array of stack IDs that specify the stacks to be described.
|
int |
hashCode() |
void |
setStackIds(Collection<String> stackIds)
An array of stack IDs that specify the stacks to be described.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStacksRequest |
withStackIds(Collection<String> stackIds)
An array of stack IDs that specify the stacks to be described.
|
DescribeStacksRequest |
withStackIds(String... stackIds)
An array of stack IDs that specify the stacks to be described.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public List<String> getStackIds()
DescribeStacks
returns a description
of every stack.DescribeStacks
returns a description
of every stack.public void setStackIds(Collection<String> stackIds)
DescribeStacks
returns a description
of every stack.stackIds
- An array of stack IDs that specify the stacks to be described. If you
omit this parameter, DescribeStacks
returns a description
of every stack.public DescribeStacksRequest withStackIds(String... stackIds)
DescribeStacks
returns a description
of every stack.
NOTE: This method appends the values to the existing list (if
any). Use setStackIds(java.util.Collection)
or withStackIds(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
stackIds
- An array of stack IDs that specify the stacks to be described. If you
omit this parameter, DescribeStacks
returns a description
of every stack.public DescribeStacksRequest withStackIds(Collection<String> stackIds)
DescribeStacks
returns a description
of every stack.
Returns a reference to this object so that method calls can be chained together.
stackIds
- An array of stack IDs that specify the stacks to be described. If you
omit this parameter, DescribeStacks
returns a description
of every stack.public String toString()
toString
in class Object
Object.toString()
public DescribeStacksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.