Interface IProfileIdBuilder
interface IProfileIdBuilder
Extends com.amazon.apmf.IStandard
Builder interface to create a ProfileId object.
Methods
id()
Sets the ID to be resolved under the associated namespace. This is a required field.IProfileIdBuilder*id(stringid)
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()
Sets the namespace the ID should be resolved under. See NAMESPACE_ values onIProfileIdBuilder*idNamespace(stringidNamespace)
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()
Builds aIProfileId*build()
ProfileId object with the fields set on the builder.
Returns
IProfileId*
a non-null pointer to the IProfileId object created.
Throws
ObjectCreationError— if required fields are not set.
Constants
NAMESPACE_APP_INTERNAL
This namespace indicates you are sharing a string representation of your internalstring="app_internal"
profileId for the active profile.
