@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<CollectionSummary> |
getCollectionSummaries()
Details about each collection.
|
String |
getNextToken()
When
nextToken is returned, there are more results available. |
int |
hashCode() |
void |
setCollectionSummaries(Collection<CollectionSummary> collectionSummaries)
Details about each collection.
|
void |
setNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
String |
toString()
Returns a string representation of this object.
|
ListCollectionsResult |
withCollectionSummaries(Collection<CollectionSummary> collectionSummaries)
Details about each collection.
|
ListCollectionsResult |
withCollectionSummaries(CollectionSummary... collectionSummaries)
Details about each collection.
|
ListCollectionsResult |
withNextToken(String nextToken)
When
nextToken is returned, there are more results available. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CollectionSummary> getCollectionSummaries()
Details about each collection.
public void setCollectionSummaries(Collection<CollectionSummary> collectionSummaries)
Details about each collection.
collectionSummaries
- Details about each collection.public ListCollectionsResult withCollectionSummaries(CollectionSummary... collectionSummaries)
Details about each collection.
NOTE: This method appends the values to the existing list (if any). Use
setCollectionSummaries(java.util.Collection)
or withCollectionSummaries(java.util.Collection)
if you want to override the existing values.
collectionSummaries
- Details about each collection.public ListCollectionsResult withCollectionSummaries(Collection<CollectionSummary> collectionSummaries)
Details about each collection.
collectionSummaries
- Details about each collection.public void setNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public String getNextToken()
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public ListCollectionsResult withNextToken(String nextToken)
When nextToken
is returned, there are more results available. The value of nextToken
is
a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.
nextToken
- When nextToken
is returned, there are more results available. The value of
nextToken
is a unique pagination token for each page. Make the call again using the returned
token to retrieve the next page.public String toString()
toString
in class Object
Object.toString()
public ListCollectionsResult clone()