@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<Cluster> |
getClusters()
An array of the clusters in an account.
|
String |
getNextToken()
The token that identifies which batch of results you want to see.
|
int |
hashCode() |
void |
setClusters(Collection<Cluster> clusters)
An array of the clusters in an account.
|
void |
setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
String |
toString()
Returns a string representation of this object.
|
ListClustersResult |
withClusters(Cluster... clusters)
An array of the clusters in an account.
|
ListClustersResult |
withClusters(Collection<Cluster> clusters)
An array of the clusters in an account.
|
ListClustersResult |
withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Cluster> getClusters()
An array of the clusters in an account.
public void setClusters(Collection<Cluster> clusters)
An array of the clusters in an account.
clusters
- An array of the clusters in an account.public ListClustersResult withClusters(Cluster... clusters)
An array of the clusters in an account.
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
- An array of the clusters in an account.public ListClustersResult withClusters(Collection<Cluster> clusters)
An array of the clusters in an account.
clusters
- An array of the clusters in an account.public void setNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public String getNextToken()
The token that identifies which batch of results you want to see.
public ListClustersResult withNextToken(String nextToken)
The token that identifies which batch of results you want to see.
nextToken
- The token that identifies which batch of results you want to see.public String toString()
toString
in class Object
Object.toString()
public ListClustersResult clone()