@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDatastoresResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDatastoresResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDatastoresResult |
clone() |
boolean |
equals(Object obj) |
List<DatastoreSummary> |
getDatastoreSummaries()
A list of
DatastoreSummary objects. |
String |
getNextToken()
The token to retrieve the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
A list of
DatastoreSummary objects. |
void |
setNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListDatastoresResult |
withDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
A list of
DatastoreSummary objects. |
ListDatastoresResult |
withDatastoreSummaries(DatastoreSummary... datastoreSummaries)
A list of
DatastoreSummary objects. |
ListDatastoresResult |
withNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DatastoreSummary> getDatastoreSummaries()
A list of DatastoreSummary objects.
DatastoreSummary objects.public void setDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
A list of DatastoreSummary objects.
datastoreSummaries - A list of DatastoreSummary objects.public ListDatastoresResult withDatastoreSummaries(DatastoreSummary... datastoreSummaries)
A list of DatastoreSummary objects.
NOTE: This method appends the values to the existing list (if any). Use
setDatastoreSummaries(java.util.Collection) or withDatastoreSummaries(java.util.Collection) if
you want to override the existing values.
datastoreSummaries - A list of DatastoreSummary objects.public ListDatastoresResult withDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
A list of DatastoreSummary objects.
datastoreSummaries - A list of DatastoreSummary objects.public void setNextToken(String nextToken)
The token to retrieve the next set of results, or null if there are no more results.
nextToken - The token to retrieve the next set of results, or null if there are no more results.public String getNextToken()
The token to retrieve the next set of results, or null if there are no more results.
null if there are no more results.public ListDatastoresResult withNextToken(String nextToken)
The token to retrieve the next set of results, or null if there are no more results.
nextToken - The token to retrieve the next set of results, or null if there are no more results.public String toString()
toString in class ObjectObject.toString()public ListDatastoresResult clone()