public static interface ListStreamsResponse.Builder extends DynamoDbStreamsResponse.Builder, SdkPojo, CopyableBuilder<ListStreamsResponse.Builder,ListStreamsResponse>
Modifier and Type | Method and Description |
---|---|
ListStreamsResponse.Builder |
lastEvaluatedStreamArn(String lastEvaluatedStreamArn)
The stream ARN of the item where the operation stopped, inclusive of the previous result set.
|
ListStreamsResponse.Builder |
streams(Collection<Stream> streams)
A list of stream descriptors associated with the current account and endpoint.
|
ListStreamsResponse.Builder |
streams(Consumer<Stream.Builder>... streams)
A list of stream descriptors associated with the current account and endpoint.
|
ListStreamsResponse.Builder |
streams(Stream... streams)
A list of stream descriptors associated with the current account and endpoint.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ListStreamsResponse.Builder streams(Collection<Stream> streams)
A list of stream descriptors associated with the current account and endpoint.
streams
- A list of stream descriptors associated with the current account and endpoint.ListStreamsResponse.Builder streams(Stream... streams)
A list of stream descriptors associated with the current account and endpoint.
streams
- A list of stream descriptors associated with the current account and endpoint.ListStreamsResponse.Builder streams(Consumer<Stream.Builder>... streams)
A list of stream descriptors associated with the current account and endpoint.
This is a convenience method that creates an instance of theStream.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
.
streams
- a consumer that will call methods on
Stream.Builder
#streams(java.util.Collection)
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.
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.
Copyright © 2023. All rights reserved.