Interface ListStreamsResponse.Builder

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

public static interface ListStreamsResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<ListStreamsResponse.Builder,ListStreamsResponse>
  • Method Details

    • streamNames

      ListStreamsResponse.Builder streamNames(Collection<String> streamNames)

      The names of the streams that are associated with the Amazon Web Services account making the ListStreams request.

      Parameters:
      streamNames - The names of the streams that are associated with the Amazon Web Services account making the ListStreams request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamNames

      ListStreamsResponse.Builder streamNames(String... streamNames)

      The names of the streams that are associated with the Amazon Web Services account making the ListStreams request.

      Parameters:
      streamNames - The names of the streams that are associated with the Amazon Web Services account making the ListStreams request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hasMoreStreams

      ListStreamsResponse.Builder hasMoreStreams(Boolean hasMoreStreams)

      If set to true, there are more streams available to list.

      Parameters:
      hasMoreStreams - If set to true, there are more streams available to list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListStreamsResponse.Builder nextToken(String nextToken)

      Parameters:
      nextToken -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamSummaries

      ListStreamsResponse.Builder streamSummaries(Collection<StreamSummary> streamSummaries)

      Parameters:
      streamSummaries -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamSummaries

      ListStreamsResponse.Builder streamSummaries(StreamSummary... streamSummaries)

      Parameters:
      streamSummaries -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamSummaries

      ListStreamsResponse.Builder streamSummaries(Consumer<StreamSummary.Builder>... streamSummaries)

      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 streamSummaries(List<StreamSummary>).

      Parameters:
      streamSummaries - 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: