@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCollectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCollectionsResult() |
Modifier and Type | Method and Description |
---|---|
ListCollectionsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCollectionIds()
An array of collection IDs.
|
String |
getNextToken()
If the result is truncated, the response provides a
NextToken that you can use in the subsequent
request to fetch the next set of collection IDs. |
int |
hashCode() |
void |
setCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
|
void |
setNextToken(String nextToken)
If the result is truncated, the response provides a
NextToken that you can use in the subsequent
request to fetch the next set of collection IDs. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListCollectionsResult |
withCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
|
ListCollectionsResult |
withCollectionIds(String... collectionIds)
An array of collection IDs.
|
ListCollectionsResult |
withNextToken(String nextToken)
If the result is truncated, the response provides a
NextToken that you can use in the subsequent
request to fetch the next set of collection IDs. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getCollectionIds()
An array of collection IDs.
public void setCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
collectionIds
- An array of collection IDs.public ListCollectionsResult withCollectionIds(String... collectionIds)
An array of collection IDs.
NOTE: This method appends the values to the existing list (if any). Use
setCollectionIds(java.util.Collection)
or withCollectionIds(java.util.Collection)
if you want
to override the existing values.
collectionIds
- An array of collection IDs.public ListCollectionsResult withCollectionIds(Collection<String> collectionIds)
An array of collection IDs.
collectionIds
- An array of collection IDs.public void setNextToken(String nextToken)
If the result is truncated, the response provides a NextToken
that you can use in the subsequent
request to fetch the next set of collection IDs.
nextToken
- If the result is truncated, the response provides a NextToken
that you can use in the
subsequent request to fetch the next set of collection IDs.public String getNextToken()
If the result is truncated, the response provides a NextToken
that you can use in the subsequent
request to fetch the next set of collection IDs.
NextToken
that you can use in the
subsequent request to fetch the next set of collection IDs.public ListCollectionsResult withNextToken(String nextToken)
If the result is truncated, the response provides a NextToken
that you can use in the subsequent
request to fetch the next set of collection IDs.
nextToken
- If the result is truncated, the response provides a NextToken
that you can use in the
subsequent request to fetch the next set of collection IDs.public String toString()
toString
in class Object
Object.toString()
public ListCollectionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.