Class DescribeEcsClustersResult

    • Constructor Detail

      • DescribeEcsClustersResult

        public DescribeEcsClustersResult()
    • Method Detail

      • getEcsClusters

        public List<EcsCluster> getEcsClusters()

        A list of EcsCluster objects containing the cluster descriptions.

        Returns:
        A list of EcsCluster objects containing the cluster descriptions.
      • setEcsClusters

        public void setEcsClusters​(Collection<EcsCluster> ecsClusters)

        A list of EcsCluster objects containing the cluster descriptions.

        Parameters:
        ecsClusters - A list of EcsCluster objects containing the cluster descriptions.
      • withEcsClusters

        public DescribeEcsClustersResult withEcsClusters​(EcsCluster... ecsClusters)

        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) or withEcsClusters(java.util.Collection) if you want to override the existing values.

        Parameters:
        ecsClusters - A list of EcsCluster objects containing the cluster descriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withEcsClusters

        public DescribeEcsClustersResult withEcsClusters​(Collection<EcsCluster> ecsClusters)

        A list of EcsCluster objects containing the cluster descriptions.

        Parameters:
        ecsClusters - A list of EcsCluster objects containing the cluster descriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public 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'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 to null.

        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'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 to null.
      • getNextToken

        public String 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 to null.

        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 to null.
      • withNextToken

        public DescribeEcsClustersResult 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'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 to null.

        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'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 to null.
        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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object