public class ListStacksResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output for ListStacks action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
If the output exceeds 1 MB in size, a string that identifies the next
page of stacks.
|
private SdkInternalList<StackSummary> |
stackSummaries
A list of
StackSummary structures containing information
about the specified stacks. |
Constructor and Description |
---|
ListStacksResult() |
Modifier and Type | Method and Description |
---|---|
ListStacksResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If the output exceeds 1 MB in size, a string that identifies the next
page of stacks.
|
java.util.List<StackSummary> |
getStackSummaries()
A list of
StackSummary structures containing information
about the specified stacks. |
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next
page of stacks.
|
void |
setStackSummaries(java.util.Collection<StackSummary> stackSummaries)
A list of
StackSummary structures containing information
about the specified stacks. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStacksResult |
withNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next
page of stacks.
|
ListStacksResult |
withStackSummaries(java.util.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. |
private SdkInternalList<StackSummary> stackSummaries
A list of StackSummary
structures containing information
about the specified stacks.
private java.lang.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.
public java.util.List<StackSummary> getStackSummaries()
A list of StackSummary
structures containing information
about the specified stacks.
StackSummary
structures containing
information about the specified stacks.public void setStackSummaries(java.util.Collection<StackSummary> stackSummaries)
A list of 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)
A list of 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.
stackSummaries
- A list of StackSummary
structures containing
information about the specified stacks.public ListStacksResult withStackSummaries(java.util.Collection<StackSummary> stackSummaries)
A list of StackSummary
structures containing information
about the specified stacks.
stackSummaries
- A list of StackSummary
structures containing
information about the specified stacks.public void setNextToken(java.lang.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 java.lang.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 ListStacksResult withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListStacksResult clone()
clone
in class java.lang.Object