public static interface DescribeStreamResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeStreamResponse.Builder |
streamDescription(Consumer<StreamDescription.Builder> streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that
comprise the stream, and whether there are more shards available.
|
DescribeStreamResponse.Builder |
streamDescription(StreamDescription streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that
comprise the stream, and whether there are more shards available.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeStreamResponse.Builder streamDescription(StreamDescription streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.
streamDescription
- The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects
that comprise the stream, and whether there are more shards available.default DescribeStreamResponse.Builder streamDescription(Consumer<StreamDescription.Builder> streamDescription)
The current status of the stream, the stream Amazon Resource Name (ARN), an array of shard objects that comprise the stream, and whether there are more shards available.
This is a convenience method 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 © 2022. All rights reserved.