Interface ListStreamsResponse.Builder

  • Method Details

    • nextToken

      ListStreamsResponse.Builder nextToken(String nextToken)

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. To retrieve the next page, make the call again using the returned token.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      An array of the returned streams.

      Parameters:
      streams - An array of the returned streams.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      An array of the returned streams.

      Parameters:
      streams - An array of the returned streams.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      An array of the returned streams.

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

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

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