public class DescribeStacksResult extends Object 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()
String that identifies the start of the next list of stacks, if there
is one.
|
List<Stack> |
getStacks()
A list of stack structures.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
String that identifies the start of the next list of stacks, if there
is one.
|
void |
setStacks(Collection<Stack> stacks)
A list of stack structures.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStacksResult |
withNextToken(String nextToken)
String that identifies the start of the next list of stacks, if there
is one.
|
DescribeStacksResult |
withStacks(Collection<Stack> stacks)
A list of stack structures.
|
DescribeStacksResult |
withStacks(Stack... stacks)
A list of stack structures.
|
public List<Stack> getStacks()
public void setStacks(Collection<Stack> stacks)
stacks
- A list of stack structures.public DescribeStacksResult withStacks(Stack... stacks)
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.
Returns a reference to this object so that method calls can be chained together.
stacks
- A list of stack structures.public DescribeStacksResult withStacks(Collection<Stack> stacks)
Returns a reference to this object so that method calls can be chained together.
stacks
- A list of stack structures.public String getNextToken()
Constraints:
Length: 1 - 1024
public void setNextToken(String nextToken)
Constraints:
Length: 1 - 1024
nextToken
- String that identifies the start of the next list of stacks, if there
is one.public DescribeStacksResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
nextToken
- String that identifies the start of the next list of stacks, if there
is one.public String toString()
toString
in class Object
Object.toString()
public DescribeStacksResult clone()
Copyright © 2015. All rights reserved.