Interface DescribeClustersResponse.Builder

    • Method Detail

      • nextToken

        DescribeClustersResponse.Builder nextToken​(String nextToken)

        Provides an identifier to allow retrieval of paginated results.

        Parameters:
        nextToken - Provides an identifier to allow retrieval of paginated results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusters

        DescribeClustersResponse.Builder clusters​(Collection<Cluster> clusters)

        The descriptions of your DAX clusters, in response to a DescribeClusters request.

        Parameters:
        clusters - The descriptions of your DAX clusters, in response to a DescribeClusters request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusters

        DescribeClustersResponse.Builder clusters​(Cluster... clusters)

        The descriptions of your DAX clusters, in response to a DescribeClusters request.

        Parameters:
        clusters - The descriptions of your DAX clusters, in response to a DescribeClusters request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusters

        DescribeClustersResponse.Builder clusters​(Consumer<Cluster.Builder>... clusters)

        The descriptions of your DAX clusters, in response to a DescribeClusters request.

        This is a convenience method that creates an instance of the Cluster.Builder avoiding the need to create one manually via Cluster.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #clusters(List).

        Parameters:
        clusters - a consumer that will call methods on Cluster.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #clusters(java.util.Collection)