Interface ListChannelsResponse.Builder

  • Method Details

    • channels

      The list of channels in the cluster.

      Parameters:
      channels - The list of channels in the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      The list of channels in the cluster.

      Parameters:
      channels - The list of channels in the cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      The list of channels in the cluster.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to channels(List<ChannelInfo>).

      Parameters:
      channels - a consumer that will call methods on ChannelInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListChannelsResponse.Builder nextToken(String nextToken)

      If the response from ListChannels is truncated, this token is included. Send it as the nextToken parameter on a subsequent ListChannels call to retrieve the next page.

      Parameters:
      nextToken - If the response from ListChannels is truncated, this token is included. Send it as the nextToken parameter on a subsequent ListChannels call to retrieve the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.