public class ListStacksResult extends Object implements Serializable, Cloneable
The output for ListStacks action.
Constructor and Description |
---|
ListStacksResult() |
Modifier and Type | Method and Description |
---|---|
ListStacksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
String that identifies the start of the next list of stacks, if there
is one.
|
List<StackSummary> |
getStackSummaries()
A list of
StackSummary structures containing information
about the specified stacks. |
int |
hashCode() |
void |
setNextToken(String nextToken)
String that identifies the start of the next list of stacks, if there
is one.
|
void |
setStackSummaries(Collection<StackSummary> stackSummaries)
A list of
StackSummary structures containing information
about the specified stacks. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStacksResult |
withNextToken(String nextToken)
String that identifies the start of the next list of stacks, if there
is one.
|
ListStacksResult |
withStackSummaries(Collection<StackSummary> stackSummaries)
A list of
StackSummary structures containing information
about the specified stacks. |
ListStacksResult |
withStackSummaries(StackSummary... stackSummaries)
A list of
StackSummary structures containing information
about the specified stacks. |
public List<StackSummary> getStackSummaries()
StackSummary
structures containing information
about the specified stacks.StackSummary
structures containing information
about the specified stacks.public void setStackSummaries(Collection<StackSummary> stackSummaries)
StackSummary
structures containing information
about the specified stacks.stackSummaries
- A list of StackSummary
structures containing information
about the specified stacks.public ListStacksResult withStackSummaries(StackSummary... stackSummaries)
StackSummary
structures containing information
about the specified stacks.
NOTE: This method appends the values to the existing list (if
any). Use setStackSummaries(java.util.Collection)
or withStackSummaries(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.
stackSummaries
- A list of StackSummary
structures containing information
about the specified stacks.public ListStacksResult withStackSummaries(Collection<StackSummary> stackSummaries)
StackSummary
structures containing information
about the specified stacks.
Returns a reference to this object so that method calls can be chained together.
stackSummaries
- A list of StackSummary
structures containing information
about the specified stacks.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 ListStacksResult 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 ListStacksResult clone()
Copyright © 2015. All rights reserved.