as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

ContentIdBuilder

Builder to create a ContentId object.

Constructors

new ContentIdBuilder()

new ContentIdBuilder(): ContentIdBuilder

Returns

ContentIdBuilder

Methods

build()

build(): ContentId

Builds a ContentId object with the fields set on the builder.

Returns

ContentId

The ContentId object created.

Throws

InvalidArgumentError if required fields are not set.


id()

id(id): ContentIdBuilder

Sets the the ID resolvable in the Amazon catalog under the associated namespace. This is a required field. build() will fail if this field is not set.

Parameters

id

string

ID resolvable under the associated namespace.

Returns

ContentIdBuilder

The current ContentIdBuilder object.


idNamespace()

idNamespace(idNamespace): ContentIdBuilder

Sets the namespace the ID should be resolved under. See ContentIdNamespaces for accepted values. This is a required field. build() will fail if this field is not set.

Parameters

idNamespace

string

The namespace to resolved the ID under.

Returns

ContentIdBuilder

The current ContentIdBuilder object.


Last updated: Oct 02, 2025