public static interface DescribeStreamResponse.Builder extends DynamoDbStreamsResponse.Builder, SdkPojo, CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeStreamResponse.Builder |
streamDescription(Consumer<StreamDescription.Builder> streamDescription)
A complete description of the stream, including its creation date and time, the DynamoDB table associated
with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream
records within the shards.
|
DescribeStreamResponse.Builder |
streamDescription(StreamDescription streamDescription)
A complete description of the stream, including its creation date and time, the DynamoDB table associated
with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream
records within the shards.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeStreamResponse.Builder streamDescription(StreamDescription streamDescription)
A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.
streamDescription
- A complete description of the stream, including its creation date and time, the DynamoDB table
associated with the stream, the shard IDs within the stream, and the beginning and ending sequence
numbers of stream records within the shards.default DescribeStreamResponse.Builder streamDescription(Consumer<StreamDescription.Builder> streamDescription)
A complete description of the stream, including its creation date and time, the DynamoDB table associated with the stream, the shard IDs within the stream, and the beginning and ending sequence numbers of stream records within the shards.
This is a convenience that creates an instance of theStreamDescription.Builder
avoiding the need to
create one manually via StreamDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to streamDescription(StreamDescription)
.streamDescription
- a consumer that will call methods on StreamDescription.Builder
streamDescription(StreamDescription)
Copyright © 2020. All rights reserved.