Interface ListStreamsResponse.Builder

  • Method Details

    • streams

      An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.

      Parameters:
      streams - An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      ListStreamsResponse.Builder streams(Stream... streams)

      An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.

      Parameters:
      streams - An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      An array of stream objects, each containing summary information about a stream including its ARN, status, and associated table information. This list includes all streams that match the request criteria.

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

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

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

      ListStreamsResponse.Builder nextToken(String nextToken)

      A pagination token that can be used in a subsequent ListStreams request. This token is returned if the response contains more streams than can be returned in a single response based on the MaxResults parameter.

      Parameters:
      nextToken - A pagination token that can be used in a subsequent ListStreams request. This token is returned if the response contains more streams than can be returned in a single response based on the MaxResults parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.