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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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 Detail
-
streams
ListStreamsResponse.Builder streams(Collection<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
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
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 viaStream.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#streams(List
.) - 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:
#streams(java.util.Collection
)
-
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 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.
-
-