Interface ListChannelsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>, MediaTailorResponse.Builder, SdkBuilder<ListChannelsResponse.Builder,ListChannelsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListChannelsResponse

public static interface ListChannelsResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
  • Method Details

    • items

      A list of channels that are associated with this account.

      Parameters:
      items - A list of channels that are associated with this account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of channels that are associated with this account.

      Parameters:
      items - A list of channels that are associated with this account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A list of channels that are associated with this account.

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

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

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

      ListChannelsResponse.Builder nextToken(String nextToken)

      Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.

      Parameters:
      nextToken - Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.