@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStacksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output for a DescribeStacks action.
Constructor and Description |
---|
DescribeStacksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
|
List<Stack> |
getStacks()
A list of stack structures.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
|
void |
setStacks(Collection<Stack> stacks)
A list of stack structures.
|
String |
toString()
Returns a string representation of this object.
|
DescribeStacksResult |
withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
|
DescribeStacksResult |
withStacks(Collection<Stack> stacks)
A list of stack structures.
|
DescribeStacksResult |
withStacks(Stack... stacks)
A list of stack structures.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Stack> getStacks()
A list of stack structures.
public void setStacks(Collection<Stack> stacks)
A list of stack structures.
stacks
- A list of stack structures.public DescribeStacksResult withStacks(Stack... stacks)
A list of stack structures.
NOTE: This method appends the values to the existing list (if any). Use
setStacks(java.util.Collection)
or withStacks(java.util.Collection)
if you want to override the
existing values.
stacks
- A list of stack structures.public DescribeStacksResult withStacks(Collection<Stack> stacks)
A list of stack structures.
stacks
- A list of stack structures.public void setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
nextToken
- If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional
page exists, this value is null.public String getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
public DescribeStacksResult withNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional page exists, this value is null.
nextToken
- If the output exceeds 1 MB in size, a string that identifies the next page of stacks. If no additional
page exists, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeStacksResult clone()