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.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildDescribeStreamResponse.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.BuilderstreamDescription(StreamDescription)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.