Interface DescribeCapacityProvidersResponse.Builder

    • Method Detail

      • capacityProviders

        DescribeCapacityProvidersResponse.Builder capacityProviders​(CapacityProvider... capacityProviders)

        The list of capacity providers.

        Parameters:
        capacityProviders - The list of capacity providers.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failures

        DescribeCapacityProvidersResponse.Builder failures​(Failure... failures)

        Any failures associated with the call.

        Parameters:
        failures - Any failures associated with the call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeCapacityProvidersResponse.Builder nextToken​(String nextToken)

        The nextToken value to include in a future DescribeCapacityProviders request. When the results of a DescribeCapacityProviders request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

        Parameters:
        nextToken - The nextToken value to include in a future DescribeCapacityProviders request. When the results of a DescribeCapacityProviders request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.