Class DescribeEcsClustersResult
- All Implemented Interfaces:
Serializable,Cloneable
Contains the response to a DescribeEcsClusters request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA list ofEcsClusterobjects containing the cluster descriptions.If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object'sNextTokenparameter to retrieve the next set of results.inthashCode()voidsetEcsClusters(Collection<EcsCluster> ecsClusters) A list ofEcsClusterobjects containing the cluster descriptions.voidsetNextToken(String nextToken) If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object'sNextTokenparameter to retrieve the next set of results.toString()Returns a string representation of this object; useful for testing and debugging.withEcsClusters(EcsCluster... ecsClusters) A list ofEcsClusterobjects containing the cluster descriptions.withEcsClusters(Collection<EcsCluster> ecsClusters) A list ofEcsClusterobjects containing the cluster descriptions.withNextToken(String nextToken) If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object'sNextTokenparameter to retrieve the next set of results.
-
Constructor Details
-
DescribeEcsClustersResult
public DescribeEcsClustersResult()
-
-
Method Details
-
getEcsClusters
A list of
EcsClusterobjects containing the cluster descriptions.- Returns:
- A list of
EcsClusterobjects containing the cluster descriptions.
-
setEcsClusters
A list of
EcsClusterobjects containing the cluster descriptions.- Parameters:
ecsClusters- A list ofEcsClusterobjects containing the cluster descriptions.
-
withEcsClusters
A list of
EcsClusterobjects containing the cluster descriptions.NOTE: This method appends the values to the existing list (if any). Use
setEcsClusters(java.util.Collection)orwithEcsClusters(java.util.Collection)if you want to override the existing values.- Parameters:
ecsClusters- A list ofEcsClusterobjects containing the cluster descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEcsClusters
A list of
EcsClusterobjects containing the cluster descriptions.- Parameters:
ecsClusters- A list ofEcsClusterobjects containing the cluster descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's
NextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.- Parameters:
nextToken- If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object'sNextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.
-
getNextToken
If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's
NextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.- Returns:
- If a paginated request does not return all of the remaining
results, this parameter is set to a token that you can assign to
the request object's
NextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.
-
withNextToken
If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object's
NextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.- Parameters:
nextToken- If a paginated request does not return all of the remaining results, this parameter is set to a token that you can assign to the request object'sNextTokenparameter to retrieve the next set of results. If the previous paginated request returned all of the remaining results, this parameter is set tonull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-