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 ListClustersResultclone()booleanequals(Object obj)List<String>getClusterArns()The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.StringgetNextToken()ThenextTokenvalue to include in a futureListClustersrequest.inthashCode()voidsetClusterArns(Collection<String> clusterArns)The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.voidsetNextToken(String nextToken)ThenextTokenvalue to include in a futureListClustersrequest.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListClustersResultwithClusterArns(String... clusterArns)The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.ListClustersResultwithClusterArns(Collection<String> clusterArns)The list of full Amazon Resource Name (ARN) entries for each cluster associated with your account.ListClustersResultwithNextToken(String nextToken)ThenextTokenvalue to include in a futureListClustersrequest.
-
-
-
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
nextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
getNextToken
public String getNextToken()
The
nextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- The
nextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
withNextToken
public ListClustersResult withNextToken(String nextToken)
The
nextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListClustersrequest. When the results of aListClustersrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value isnullwhen 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListClustersResult clone()
-
-