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
Skip to main content
Builder to create a ProfileId object.

Constructors

new ProfileIdBuilder()

new ProfileIdBuilder(): ProfileIdBuilder

Returns

ProfileIdBuilder

Methods

build()

build(): ProfileId Builds a ProfileId object with the fields set on the builder.

Returns

ProfileId The ProfileId object created.

Throws

InvalidArgumentError if required fields are not set.

id()

id(id): ProfileIdBuilder Sets the ID to be resolved 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

ProfileIdBuilder The current ProfileIdBuilder object.
Last modified on October 2, 2025