@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> |
getClusterArns()
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
|
String |
getNextToken()
The
nextToken value to include in a future ListClusters request. |
int |
hashCode() |
void |
setClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
|
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListClusters request. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListClustersResult |
withClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
|
ListClustersResult |
withClusterArns(String... clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
|
ListClustersResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListClusters request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<String> getClusterArns()
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
public void setClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
clusterArns
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.public ListClustersResult withClusterArns(String... clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
NOTE: This method appends the values to the existing list (if any). Use
setClusterArns(java.util.Collection)
or withClusterArns(java.util.Collection)
if you want to
override the existing values.
clusterArns
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.public ListClustersResult withClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
clusterArns
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListClusters
request. When the results of a
ListClusters
request exceed maxResults
, this value can be used to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListClusters
request. When the
results of a ListClusters
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to
return.public String getNextToken()
The nextToken
value to include in a future ListClusters
request. When the results of a
ListClusters
request exceed maxResults
, this value can be used to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
value to include in a future ListClusters
request. When the
results of a ListClusters
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to
return.public ListClustersResult withNextToken(String nextToken)
The nextToken
value to include in a future ListClusters
request. When the results of a
ListClusters
request exceed maxResults
, this value can be used to retrieve the next
page of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListClusters
request. When the
results of a ListClusters
request exceed maxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to
return.public String toString()
toString
in class Object
Object.toString()
public ListClustersResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.