@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListClustersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListClustersResult() |
Modifier and Type | Method and Description |
---|---|
ListClustersResult |
clone() |
boolean |
equals(Object obj) |
List<ClusterInList> |
getClusters()
A list of Elastic DocumentDB cluster.
|
String |
getNextToken()
The response will provide a nextToken if there is more data beyond the maxResults.
|
int |
hashCode() |
void |
setClusters(Collection<ClusterInList> clusters)
A list of Elastic DocumentDB cluster.
|
void |
setNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
|
String |
toString()
Returns a string representation of this object.
|
ListClustersResult |
withClusters(ClusterInList... clusters)
A list of Elastic DocumentDB cluster.
|
ListClustersResult |
withClusters(Collection<ClusterInList> clusters)
A list of Elastic DocumentDB cluster.
|
ListClustersResult |
withNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ClusterInList> getClusters()
A list of Elastic DocumentDB cluster.
public void setClusters(Collection<ClusterInList> clusters)
A list of Elastic DocumentDB cluster.
clusters
- A list of Elastic DocumentDB cluster.public ListClustersResult withClusters(ClusterInList... clusters)
A list of Elastic DocumentDB cluster.
NOTE: This method appends the values to the existing list (if any). Use
setClusters(java.util.Collection)
or withClusters(java.util.Collection)
if you want to override
the existing values.
clusters
- A list of Elastic DocumentDB cluster.public ListClustersResult withClusters(Collection<ClusterInList> clusters)
A list of Elastic DocumentDB cluster.
clusters
- A list of Elastic DocumentDB cluster.public void setNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
nextToken
- The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
public String getNextToken()
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
If there is no more data in the responce, the nextToken will not be returned.
public ListClustersResult withNextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
nextToken
- The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
public String toString()
toString
in class Object
Object.toString()
public ListClustersResult clone()