Interface ChannelStatistics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelStatistics.Builder,ChannelStatistics>,SdkBuilder<ChannelStatistics.Builder,ChannelStatistics>,SdkPojo
- Enclosing class:
- ChannelStatistics
public static interface ChannelStatistics.Builder extends SdkPojo, CopyableBuilder<ChannelStatistics.Builder,ChannelStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ChannelStatistics.Buildersize(Consumer<EstimatedResourceSize.Builder> size)The estimated size of the channel.ChannelStatistics.Buildersize(EstimatedResourceSize size)The estimated size of the channel.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
size
ChannelStatistics.Builder size(EstimatedResourceSize size)
The estimated size of the channel.
- Parameters:
size- The estimated size of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
size
default ChannelStatistics.Builder size(Consumer<EstimatedResourceSize.Builder> size)
The estimated size of the channel.
This is a convenience method that creates an instance of theEstimatedResourceSize.Builderavoiding the need to create one manually viaEstimatedResourceSize.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosize(EstimatedResourceSize).- Parameters:
size- a consumer that will call methods onEstimatedResourceSize.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
size(EstimatedResourceSize)
-
-