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
copyMethods inherited from interface software.amazon.awssdk.services.dynamodb.model.DynamoDbStreamsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaStream.builder().When the
Consumercompletes,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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis 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
LastEvaluatedStreamArnis empty, then the "last page" of results has been processed and there is no more data to be retrieved.If
LastEvaluatedStreamArnis 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 whenLastEvaluatedStreamArnis empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-