@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 name of the stack.
|
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 name of the stack.
|
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.
|
ListAssociatedStacksResult |
withNames(Collection<String> names)
The name of the stack.
|
ListAssociatedStacksResult |
withNames(String... names)
The name of the stack.
|
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 name of the stack.
names
- The name of the stack.public ListAssociatedStacksResult withNames(String... names)
The name of the stack.
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 name of the stack.public ListAssociatedStacksResult withNames(Collection<String> names)
The name of the stack.
names
- The name of the stack.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()