Class ListClustersResult
- java.lang.Object
-
- com.amazonaws.services.ecs.model.ListClustersResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListClustersResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListClustersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
ThenextToken
value to include in a futureListClusters
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)
ThenextToken
value to include in a futureListClusters
request.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListClustersResult
withClusterArns(String... clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.ListClustersResult
withClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.ListClustersResult
withNextToken(String nextToken)
ThenextToken
value to include in a futureListClusters
request.
-
-
-
Method Detail
-
getClusterArns
public List<String> getClusterArns()
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
- Returns:
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
-
setClusterArns
public void setClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
- Parameters:
clusterArns
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
-
withClusterArns
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)
orwithClusterArns(java.util.Collection)
if you want to override the existing values.- Parameters:
clusterArns
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withClusterArns
public ListClustersResult withClusterArns(Collection<String> clusterArns)
The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.
- Parameters:
clusterArns
- The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
The
nextToken
value to include in a futureListClusters
request. When the results of aListClusters
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListClusters
request. When the results of aListClusters
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextToken
value to include in a futureListClusters
request. When the results of aListClusters
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- The
nextToken
value to include in a futureListClusters
request. When the results of aListClusters
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.
-
withNextToken
public ListClustersResult withNextToken(String nextToken)
The
nextToken
value to include in a futureListClusters
request. When the results of aListClusters
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListClusters
request. When the results of aListClusters
request exceedmaxResults
, this value can be used to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListClustersResult clone()
-
-