as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
跳转到主要内容
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 ContentId The ContentId object created.

id()

id(id: string): ContentIdBuilder
Sets the ID resolvable under the associated namespace. This is a required field.

Parameters

id
string ID resolvable under the associated namespace.

Returns

ContentIdBuilder ContentIdBuilder The current ContentIdBuilder object.

idNamespace()

idNamespace(idNamespace: string): ContentIdBuilder
Sets the namespace the ID should be resolved under. See ContentIdNamespaces for accepted values. This is a required field.

Parameters

idNamespace
string The namespace to resolve the ID under.

Returns

ContentIdBuilder ContentIdBuilder The current ContentIdBuilder object.
最后修改于 2026年8月25日