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 IProfileIdBuilder

interface IProfileIdBuilder
Extends com.amazon.apmf.IStandard Builder interface to create a ProfileId object.

Methods

id()

IProfileIdBuilder* id(string id)
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 — Required ID resolvable under the associated namespace.

Returns

IProfileIdBuilder* a non-null pointer to the current IProfileIdBuilder instance.

idNamespace()

IProfileIdBuilder* idNamespace(string idNamespace)
Sets the namespace the ID should be resolved under. See NAMESPACE_ values on IProfileIdBuilder for accepted values. This is a required field. build() will fail if this field is not set.

Parameters

idNamespace
string — Required The namespace to resolved the ID under.

Returns

IProfileIdBuilder* a non-null pointer to the current IProfileIdBuilder instance.

build()

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

Returns

IProfileId* a non-null pointer to the IProfileId object created.

Throws


Constants

NAMESPACE_APP_INTERNAL

string = "app_internal"
This namespace indicates you are sharing a string representation of your internal profileId for the active profile.
Last modified on October 29, 2026