ChannelInfo object.
Extends
Builder
Constructors
new ChannelInfoBuilder()
new ChannelInfoBuilder(): ChannelInfoBuilderReturns
ChannelInfoBuilderMethods
build()
build(): IChannelInfo Builds theChannelInfo object from the fields set in the ChannelInfoBuilder object.
Throws
InvalidArgumentErrorif one or more of the required fields are missing.IllegalStateErrorif the function is called after this builder instance has already built an object once.
Returns
IChannelInfo IChannelInfo The builtChannelInfo object.
channelDescriptor()
channelDescriptor(channelDescriptor: IChannelDescriptor): ChannelInfoBuilder Sets theChannelDescriptor of the builder. This is required.
Parameters
channelDescriptor
IChannelDescriptorThrows
IllegalStateErrorif the function is called after this builder instance has already built an object once.
Returns
ChannelInfoBuilder ChannelInfoBuilder TheChannelInfoBuilder object with channelDescriptor set.
channelMetadata()
channelMetadata(metadata: IChannelMetadata): ChannelInfoBuilder Sets theChannelMetadata of the builder. This is required.
Parameters
metadata
IChannelMetadataThrows
IllegalStateErrorif the function is called after this builder instance has already built an object once.
Returns
ChannelInfoBuilder ChannelInfoBuilder TheChannelInfoBuilder object with channelMetadata set.

