@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedStacksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociatedStacksResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociatedStacksResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getNames()
The names of the stacks.
|
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setNames(Collection<String> names)
The names of the stacks.
|
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListAssociatedStacksResult |
withNames(Collection<String> names)
The names of the stacks.
|
ListAssociatedStacksResult |
withNames(String... names)
The names of the stacks.
|
ListAssociatedStacksResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNames(Collection<String> names)
The names of the stacks.
names
- The names of the stacks.public ListAssociatedStacksResult withNames(String... names)
The names of the stacks.
NOTE: This method appends the values to the existing list (if any). Use
setNames(java.util.Collection)
or withNames(java.util.Collection)
if you want to override the
existing values.
names
- The names of the stacks.public ListAssociatedStacksResult withNames(Collection<String> names)
The names of the stacks.
names
- The names of the stacks.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 ListAssociatedStacksResult 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 ListAssociatedStacksResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.