public static interface DescribeStreamResponse.Builder extends KinesisResponse.Builder, 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 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 ARN, an array of shard objects that comprise the stream, and
whether there are more shards available.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeStreamResponse.Builder streamDescription(StreamDescription streamDescription)
The current status of the stream, the stream 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 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 ARN, an array of shard objects that comprise the stream, and whether there are more shards available.
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 © 2017 Amazon Web Services, Inc. All Rights Reserved.