public class DescribeStacksResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output for a DescribeStacks 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<Stack> |
stacks
A list of stack structures.
|
Constructor and Description |
---|
DescribeStacksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksResult |
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<Stack> |
getStacks()
A list of stack structures.
|
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 |
setStacks(java.util.Collection<Stack> stacks)
A list of stack structures.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStacksResult |
withNextToken(java.lang.String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next
page of stacks.
|
DescribeStacksResult |
withStacks(java.util.Collection<Stack> stacks)
A list of stack structures.
|
DescribeStacksResult |
withStacks(Stack... stacks)
A list of stack structures.
|
private SdkInternalList<Stack> stacks
A list of stack structures.
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<Stack> getStacks()
A list of stack structures.
public void setStacks(java.util.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(java.util.Collection<Stack> stacks)
A list of stack structures.
stacks
- A list of stack structures.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 DescribeStacksResult 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 DescribeStacksResult clone()
clone
in class java.lang.Object