@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<String> |
getClusters()
A list of all of the clusters for your account in the specified Amazon Web Services Region.
|
String |
getNextToken()
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
int |
hashCode() |
void |
setClusters(Collection<String> clusters)
A list of all of the clusters for your account in the specified Amazon Web Services Region.
|
void |
setNextToken(String nextToken)
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
String |
toString()
Returns a string representation of this object.
|
ListClustersResult |
withClusters(Collection<String> clusters)
A list of all of the clusters for your account in the specified Amazon Web Services Region.
|
ListClustersResult |
withClusters(String... clusters)
A list of all of the clusters for your account in the specified Amazon Web Services Region.
|
ListClustersResult |
withNextToken(String nextToken)
The
nextToken value returned from a previous paginated request, where maxResults was
used and the results exceeded the value of that parameter. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getClusters()
A list of all of the clusters for your account in the specified Amazon Web Services Region.
public void setClusters(Collection<String> clusters)
A list of all of the clusters for your account in the specified Amazon Web Services Region.
clusters
- A list of all of the clusters for your account in the specified Amazon Web Services Region.public ListClustersResult withClusters(String... clusters)
A list of all of the clusters for your account in the specified Amazon Web Services Region.
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 all of the clusters for your account in the specified Amazon Web Services Region.public ListClustersResult withClusters(Collection<String> clusters)
A list of all of the clusters for your account in the specified Amazon Web Services Region.
clusters
- A list of all of the clusters for your account in the specified Amazon Web Services Region.public void setNextToken(String nextToken)
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated request, where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value. This value is null when there are no more
results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String getNextToken()
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
value returned from a previous paginated request, where
maxResults
was used and the results exceeded the value of that parameter. Pagination
continues from the end of the previous results that returned the nextToken
value. This value
is null when there are no more results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public ListClustersResult withNextToken(String nextToken)
The nextToken
value returned from a previous paginated request, where maxResults
was
used and the results exceeded the value of that parameter. Pagination continues from the end of the previous
results that returned the nextToken
value. This value is null when there are no more results to
return.
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
nextToken
- The nextToken
value returned from a previous paginated request, where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the
previous results that returned the nextToken
value. This value is null when there are no more
results to return. This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
public String toString()
toString
in class Object
Object.toString()
public ListClustersResult clone()