Interface ListStreamsResponse.Builder

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

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

    • streams

      A list of stream descriptors associated with the current account and endpoint.

      Parameters:
      streams - A list of stream descriptors associated with the current account and endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      ListStreamsResponse.Builder streams(Stream... streams)

      A list of stream descriptors associated with the current account and endpoint.

      Parameters:
      streams - A list of stream descriptors associated with the current account and endpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streams

      A list of stream descriptors associated with the current account and endpoint.

      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:
    • lastEvaluatedStreamArn

      ListStreamsResponse.Builder lastEvaluatedStreamArn(String lastEvaluatedStreamArn)

      The stream ARN of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

      If LastEvaluatedStreamArn is empty, then the "last page" of results has been processed and there is no more data to be retrieved.

      If LastEvaluatedStreamArn is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedStreamArn is empty.

      Parameters:
      lastEvaluatedStreamArn - The stream ARN of the item where the operation stopped, inclusive of the previous result set. Use this value to start a new operation, excluding this value in the new request.

      If LastEvaluatedStreamArn is empty, then the "last page" of results has been processed and there is no more data to be retrieved.

      If LastEvaluatedStreamArn is not empty, it does not necessarily mean that there is more data in the result set. The only way to know when you have reached the end of the result set is when LastEvaluatedStreamArn is empty.

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