Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IChannelMetadataBuilder2

interface IChannelMetadataBuilder2
Extends IChannelMetadataBuilder An updated interface for IChannelMetadataBuilder which adds channelGroupId field.

Methods

channelGroupId()

IChannelMetadataBuilder2* channelGroupId(string channelGroupId)
Sets the channel group ID in the channel metadata builder and returns an instance of the builder.

Parameters

channelGroupId
string — Required The channel group ID provided by your Amazon contact. This field is optional and generally not needed unless recommended by your Amazon contact. This field has a maximum length of 8192 bytes.

Returns

IChannelMetadataBuilder2* The ChannelMetadataBuilder object with channelGroupId set.

Throws

  • IllegalStateError — if the function is called after this builder instance has already built an object once.
  • InvalidArgumentError — if any of the fields in ExternId exceeds maximum length of 8192 bytes.

Last modified on October 29, 2026