@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()
The list of summaries of data stores.
|
String |
getNextToken()
The pagination token used to retrieve the list of data stores on the next page.
|
int |
hashCode() |
void |
setDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
The list of summaries of data stores.
|
void |
setNextToken(String nextToken)
The pagination token used to retrieve the list of data stores on the next page.
|
String |
toString()
Returns a string representation of this object.
|
ListDatastoresResult |
withDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
The list of summaries of data stores.
|
ListDatastoresResult |
withDatastoreSummaries(DatastoreSummary... datastoreSummaries)
The list of summaries of data stores.
|
ListDatastoresResult |
withNextToken(String nextToken)
The pagination token used to retrieve the list of data stores on the next page.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DatastoreSummary> getDatastoreSummaries()
The list of summaries of data stores.
public void setDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
The list of summaries of data stores.
datastoreSummaries
- The list of summaries of data stores.public ListDatastoresResult withDatastoreSummaries(DatastoreSummary... datastoreSummaries)
The list of summaries of data stores.
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
- The list of summaries of data stores.public ListDatastoresResult withDatastoreSummaries(Collection<DatastoreSummary> datastoreSummaries)
The list of summaries of data stores.
datastoreSummaries
- The list of summaries of data stores.public void setNextToken(String nextToken)
The pagination token used to retrieve the list of data stores on the next page.
nextToken
- The pagination token used to retrieve the list of data stores on the next page.public String getNextToken()
The pagination token used to retrieve the list of data stores on the next page.
public ListDatastoresResult withNextToken(String nextToken)
The pagination token used to retrieve the list of data stores on the next page.
nextToken
- The pagination token used to retrieve the list of data stores on the next page.public String toString()
toString
in class Object
Object.toString()
public ListDatastoresResult clone()