@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStacksResult extends AmazonWebServiceResult<ResponseMetadata> 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()
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
|
List<StackSummary> |
getStackSummaries()
A list of
StackSummary structures containing information about the specified stacks. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
|
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)
If the output exceeds 1 MB in size, a string that identifies the next page of stacks.
|
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. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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(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(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(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 ListStacksResult 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 ListStacksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.