public static interface StreamChannelDefinition.Builder extends SdkPojo, CopyableBuilder<StreamChannelDefinition.Builder,StreamChannelDefinition>
| Modifier and Type | Method and Description |
|---|---|
StreamChannelDefinition.Builder |
channelDefinitions(ChannelDefinition... channelDefinitions)
The definitions of the channels in a streaming channel.
|
StreamChannelDefinition.Builder |
channelDefinitions(Collection<ChannelDefinition> channelDefinitions)
The definitions of the channels in a streaming channel.
|
StreamChannelDefinition.Builder |
channelDefinitions(Consumer<ChannelDefinition.Builder>... channelDefinitions)
The definitions of the channels in a streaming channel.
|
StreamChannelDefinition.Builder |
numberOfChannels(Integer numberOfChannels)
The number of channels in a streaming channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildStreamChannelDefinition.Builder numberOfChannels(Integer numberOfChannels)
The number of channels in a streaming channel.
numberOfChannels - The number of channels in a streaming channel.StreamChannelDefinition.Builder channelDefinitions(Collection<ChannelDefinition> channelDefinitions)
The definitions of the channels in a streaming channel.
channelDefinitions - The definitions of the channels in a streaming channel.StreamChannelDefinition.Builder channelDefinitions(ChannelDefinition... channelDefinitions)
The definitions of the channels in a streaming channel.
channelDefinitions - The definitions of the channels in a streaming channel.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 via
ChannelDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #channelDefinitions(List.
channelDefinitions - a consumer that will call methods on
ChannelDefinition.Builder#channelDefinitions(java.util.Collection) Copyright © 2023. All rights reserved.