public static interface ChannelStatistics.Builder extends SdkPojo, CopyableBuilder<ChannelStatistics.Builder,ChannelStatistics>
Modifier and Type | Method and Description |
---|---|
default ChannelStatistics.Builder |
size(Consumer<EstimatedResourceSize.Builder> size)
The estimated size of the channel.
|
ChannelStatistics.Builder |
size(EstimatedResourceSize size)
The estimated size of the channel.
|
copy
applyMutation, build
ChannelStatistics.Builder size(EstimatedResourceSize size)
The estimated size of the channel.
size
- The estimated size of the channel.default ChannelStatistics.Builder size(Consumer<EstimatedResourceSize.Builder> size)
The estimated size of the channel.
This is a convenience that creates an instance of theEstimatedResourceSize.Builder
avoiding the need
to create one manually via EstimatedResourceSize.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to size(EstimatedResourceSize)
.size
- a consumer that will call methods on EstimatedResourceSize.Builder
size(EstimatedResourceSize)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.