ProfileIdBuilder
Builder to create a ProfileId
object.
Constructors
new ProfileIdBuilder()
new ProfileIdBuilder():
ProfileIdBuilder
Returns
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
The current ProfileIdBuilder
object.
idNamespace()
idNamespace(
idNamespace
):ProfileIdBuilder
Sets the namespace the ID should be resolved under.
See ProfileIdNamespaces
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
The current ProfileIdBuilder
object.
Last updated: Sep 30, 2025