Interface ListFeedsResponse.Builder

  • Method Details

    • feeds

      A list of feed summaries.

      Parameters:
      feeds - A list of feed summaries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • feeds

      A list of feed summaries.

      Parameters:
      feeds - A list of feed summaries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • feeds

      A list of feed summaries.

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

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

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

      ListFeedsResponse.Builder nextToken(String nextToken)

      The token that identifies the batch of results that you want to see. For example, you submit a list request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the list request a second time and specify the NextToken value.

      Parameters:
      nextToken - The token that identifies the batch of results that you want to see. For example, you submit a list request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the list request a second time and specify the NextToken value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.