Interface StreamChannelDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamChannelDefinition.Builder,
,StreamChannelDefinition> SdkBuilder<StreamChannelDefinition.Builder,
,StreamChannelDefinition> SdkPojo
- Enclosing class:
StreamChannelDefinition
public static interface StreamChannelDefinition.Builder
extends SdkPojo, CopyableBuilder<StreamChannelDefinition.Builder,StreamChannelDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionchannelDefinitions
(Collection<ChannelDefinition> channelDefinitions) The definitions of the channels in a streaming channel.channelDefinitions
(Consumer<ChannelDefinition.Builder>... channelDefinitions) The definitions of the channels in a streaming channel.channelDefinitions
(ChannelDefinition... channelDefinitions) The definitions of the channels in a streaming channel.numberOfChannels
(Integer numberOfChannels) The number of channels in a streaming 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 Details
-
numberOfChannels
The number of channels in a streaming channel.
- Parameters:
numberOfChannels
- The number of channels in a streaming channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDefinitions
StreamChannelDefinition.Builder channelDefinitions(Collection<ChannelDefinition> channelDefinitions) The definitions of the channels in a streaming channel.
- Parameters:
channelDefinitions
- The definitions of the channels in a streaming channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDefinitions
The definitions of the channels in a streaming channel.
- Parameters:
channelDefinitions
- The definitions of the channels in a streaming channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDefinitions
StreamChannelDefinition.Builder channelDefinitions(Consumer<ChannelDefinition.Builder>... channelDefinitions) The definitions of the channels in a streaming channel.
This is a convenience method that creates an instance of theChannelDefinition.Builder
avoiding the need to create one manually viaChannelDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannelDefinitions(List<ChannelDefinition>)
.- Parameters:
channelDefinitions
- a consumer that will call methods onChannelDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-