Class DescribeEcsClustersResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the response to a DescribeEcsClusters
request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A list ofEcsCluster
objects 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'sNextToken
parameter to retrieve the next set of results.int
hashCode()
void
setEcsClusters
(Collection<EcsCluster> ecsClusters) A list ofEcsCluster
objects containing the cluster descriptions.void
setNextToken
(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'sNextToken
parameter 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 ofEcsCluster
objects containing the cluster descriptions.withEcsClusters
(Collection<EcsCluster> ecsClusters) A list ofEcsCluster
objects 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'sNextToken
parameter to retrieve the next set of results.
-
Constructor Details
-
DescribeEcsClustersResult
public DescribeEcsClustersResult()
-
-
Method Details
-
getEcsClusters
A list of
EcsCluster
objects containing the cluster descriptions.- Returns:
- A list of
EcsCluster
objects containing the cluster descriptions.
-
setEcsClusters
A list of
EcsCluster
objects containing the cluster descriptions.- Parameters:
ecsClusters
- A list ofEcsCluster
objects containing the cluster descriptions.
-
withEcsClusters
A list of
EcsCluster
objects 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 ofEcsCluster
objects containing the cluster descriptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withEcsClusters
A list of
EcsCluster
objects containing the cluster descriptions.- Parameters:
ecsClusters
- A list ofEcsCluster
objects 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
NextToken
parameter 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'sNextToken
parameter 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
NextToken
parameter 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
NextToken
parameter 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
NextToken
parameter 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'sNextToken
parameter 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
-