Interface ListStreamsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> DynamoDbStreamsResponse.Builder
,SdkBuilder<ListStreamsResponse.Builder,
,ListStreamsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListStreamsResponse
-
Method Summary
Modifier and TypeMethodDescriptionlastEvaluatedStreamArn
(String lastEvaluatedStreamArn) The stream ARN of the item where the operation stopped, inclusive of the previous result set.streams
(Collection<Stream> streams) A list of stream descriptors associated with the current account and endpoint.streams
(Consumer<Stream.Builder>... streams) A list of stream descriptors associated with the current account and endpoint.A list of stream descriptors associated with the current account and endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbStreamsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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 theStream.Builder
avoiding the need to create one manually viaStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreams(List<Stream>)
.- Parameters:
streams
- a consumer that will call methods onStream.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 whenLastEvaluatedStreamArn
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 whenLastEvaluatedStreamArn
is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-