public static interface DescribeChannelResponse.Builder extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<DescribeChannelResponse.Builder,DescribeChannelResponse>
Modifier and Type | Method and Description |
---|---|
DescribeChannelResponse.Builder |
channel(Channel channel)
An object that contains information about the channel.
|
default DescribeChannelResponse.Builder |
channel(Consumer<Channel.Builder> channel)
An object that contains information about the channel.
|
DescribeChannelResponse.Builder |
statistics(ChannelStatistics statistics)
Statistics about the channel.
|
default DescribeChannelResponse.Builder |
statistics(Consumer<ChannelStatistics.Builder> statistics)
Statistics about the channel.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeChannelResponse.Builder channel(Channel channel)
An object that contains information about the channel.
channel
- An object that contains information about the channel.default DescribeChannelResponse.Builder channel(Consumer<Channel.Builder> channel)
An object that contains information about the channel.
This is a convenience that creates an instance of theChannel.Builder
avoiding the need to create one
manually via Channel.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to channel(Channel)
.channel
- a consumer that will call methods on Channel.Builder
channel(Channel)
DescribeChannelResponse.Builder statistics(ChannelStatistics statistics)
Statistics about the channel. Included if the 'includeStatistics' parameter is set to true in the request.
statistics
- Statistics about the channel. Included if the 'includeStatistics' parameter is set to true in the
request.default DescribeChannelResponse.Builder statistics(Consumer<ChannelStatistics.Builder> statistics)
Statistics about the channel. Included if the 'includeStatistics' parameter is set to true in the request.
This is a convenience that creates an instance of theChannelStatistics.Builder
avoiding the need to
create one manually via ChannelStatistics.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to statistics(ChannelStatistics)
.statistics
- a consumer that will call methods on ChannelStatistics.Builder
statistics(ChannelStatistics)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.