Class NamespaceRequest.Builder
- All Implemented Interfaces:
NamespaceRequest._FinalStage,NamespaceRequest.NamespaceStage,NamespaceRequest.SpecificityRankStage
- Enclosing class:
NamespaceRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) build()defaultSchemaId(String defaultSchemaId) Optional ID of a record schema (created viaPOST /v1/schemas) bound as the default governing schema for entities created in this namespace.defaultSchemaId(Optional<String> defaultSchemaId) Optional ID of a record schema (created viaPOST /v1/schemas) bound as the default governing schema for entities created in this namespace.entityBacked(Boolean entityBacked) Whentrue, everyscope:<namespace>value in this namespace must resolve to an existing identity entity of the same account and namespace (create entities viaPOST /v1/entities/{namespace}), and the namespace gains the full identity-entity surface — list its entities, look them up by schema field, and filter other resources by them as a parent.entityBacked(Optional<Boolean> entityBacked) Whentrue, everyscope:<namespace>value in this namespace must resolve to an existing identity entity of the same account and namespace (create entities viaPOST /v1/entities/{namespace}), and the namespace gains the full identity-entity surface — list its entities, look them up by schema field, and filter other resources by them as a parent.from(NamespaceRequest other) The namespace to register: 2-32 characters, a lowercase letter first, then lowercase letters, digits,_or-.specificityRank(int specificityRank) This namespace's position in your account's specificity order, used to break a tie when a caller holds two scope dimensions at once during recordType schema resolution — the higher-ranked (more specific) dimension's schema wins.
-
Method Details
-
from
- Specified by:
fromin interfaceNamespaceRequest.NamespaceStage
-
namespace
The namespace to register: 2-32 characters, a lowercase letter first, then lowercase letters, digits,
_or-. The reserved namesorgandclientare built in and cannot be registered, changed, or deleted. Required on registration; on update it must match the path and is otherwise ignored (the namespace is immutable).The namespace to register: 2-32 characters, a lowercase letter first, then lowercase letters, digits,
_or-. The reserved namesorgandclientare built in and cannot be registered, changed, or deleted. Required on registration; on update it must match the path and is otherwise ignored (the namespace is immutable).- Specified by:
namespacein interfaceNamespaceRequest.NamespaceStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
specificityRank
This namespace's position in your account's specificity order, used to break a tie when a caller holds two scope dimensions at once during recordType schema resolution — the higher-ranked (more specific) dimension's schema wins. Required on registration (no default); must be an integer between 0 and 1000000, unique across every namespace in your account, and not one of the two values reserved for the built-in namespaces (
org=1000,client=2000). Optional on update — omit to leave it unchanged.This namespace's position in your account's specificity order, used to break a tie when a caller holds two scope dimensions at once during recordType schema resolution — the higher-ranked (more specific) dimension's schema wins. Required on registration (no default); must be an integer between 0 and 1000000, unique across every namespace in your account, and not one of the two values reserved for the built-in namespaces (
org=1000,client=2000). Optional on update — omit to leave it unchanged.- Specified by:
specificityRankin interfaceNamespaceRequest.SpecificityRankStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
defaultSchemaId
Optional ID of a record schema (created via
POST /v1/schemas) bound as the default governing schema for entities created in this namespace. Must belong to your account.- Specified by:
defaultSchemaIdin interfaceNamespaceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
defaultSchemaId
Optional ID of a record schema (created via
POST /v1/schemas) bound as the default governing schema for entities created in this namespace. Must belong to your account.- Specified by:
defaultSchemaIdin interfaceNamespaceRequest._FinalStage
-
entityBacked
When
true, everyscope:<namespace>value in this namespace must resolve to an existing identity entity of the same account and namespace (create entities viaPOST /v1/entities/{namespace}), and the namespace gains the full identity-entity surface — list its entities, look them up by schema field, and filter other resources by them as a parent. Whenfalse(the default), values in this namespace are free-form strings validated by grammar only.- Specified by:
entityBackedin interfaceNamespaceRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
entityBacked
When
true, everyscope:<namespace>value in this namespace must resolve to an existing identity entity of the same account and namespace (create entities viaPOST /v1/entities/{namespace}), and the namespace gains the full identity-entity surface — list its entities, look them up by schema field, and filter other resources by them as a parent. Whenfalse(the default), values in this namespace are free-form strings validated by grammar only.- Specified by:
entityBackedin interfaceNamespaceRequest._FinalStage
-
build
- Specified by:
buildin interfaceNamespaceRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceNamespaceRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceNamespaceRequest._FinalStage
-