as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

ChannelInfoBuilder

Builder that creates an instance of the ChannelInfo object.

Extends

Constructors

new ChannelInfoBuilder()

new ChannelInfoBuilder(): ChannelInfoBuilder

Returns

ChannelInfoBuilder

Inherited from

Builder.constructor

Methods

build()

build(): IChannelInfo

Builds the ChannelInfo object from the fields set in the ChannelInfoBuilder object.

Returns

IChannelInfo

The built ChannelInfo object.

Throws

InvalidArgumentError if one or more of the required fields are missing.

Throws

IllegalStateError if the function is called after this builder instance has already built an object once.

Overrides

Builder.build


channelDescriptor()

channelDescriptor(channelDescriptor): ChannelInfoBuilder

Sets the ChannelDescriptor of the builder. This is required.

Parameters

channelDescriptor

IChannelDescriptor

Returns

ChannelInfoBuilder

The ChannelInfoBuilder object with channelDescriptor set.

Throws

IllegalStateError if the function is called after this builder instance has already built an object once.


channelMetadata()

channelMetadata(metadata): ChannelInfoBuilder

Sets the ChannelMetadata of the builder. This is required.

Parameters

metadata

IChannelMetadata

Returns

ChannelInfoBuilder

The ChannelInfoBuilder object with channelMetadata set.

Throws

IllegalStateError if the function is called after this builder instance has already built an object once.


Last updated: Sep 30, 2025