@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeStacksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeStacksResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStacksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
List<Stack> |
getStacks()
The list of stack details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setStacks(Collection<Stack> stacks)
The list of stack details.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeStacksResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeStacksResult |
withStacks(Collection<Stack> stacks)
The list of stack details.
|
DescribeStacksResult |
withStacks(Stack... stacks)
The list of stack details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Stack> getStacks()
The list of stack details.
public void setStacks(Collection<Stack> stacks)
The list of stack details.
stacks
- The list of stack details.public DescribeStacksResult withStacks(Stack... stacks)
The list of stack details.
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
- The list of stack details.public DescribeStacksResult withStacks(Collection<Stack> stacks)
The list of stack details.
stacks
- The list of stack details.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeStacksResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeStacksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.