public static interface DescribeStreamResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<DescribeStreamResponse.Builder,DescribeStreamResponse>
Modifier and Type | Method and Description |
---|---|
default DescribeStreamResponse.Builder |
streamInfo(Consumer<StreamInfo.Builder> streamInfo)
Information about the stream.
|
DescribeStreamResponse.Builder |
streamInfo(StreamInfo streamInfo)
Information about the stream.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeStreamResponse.Builder streamInfo(StreamInfo streamInfo)
Information about the stream.
streamInfo
- Information about the stream.default DescribeStreamResponse.Builder streamInfo(Consumer<StreamInfo.Builder> streamInfo)
Information about the stream.
This is a convenience method that creates an instance of theStreamInfo.Builder
avoiding the need to
create one manually via StreamInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to streamInfo(StreamInfo)
.
streamInfo
- a consumer that will call methods on StreamInfo.Builder
streamInfo(StreamInfo)
Copyright © 2022. All rights reserved.