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
Modifier and TypeMethodDescriptiondefault ChannelStatistics.BuilderThe estimated size of the channel.size(EstimatedResourceSize size) The estimated size of the channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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:
-