Class CreateEntityRequest.Builder
- All Implemented Interfaces:
CreateEntityRequest._FinalStage,CreateEntityRequest.BodyStage
- Enclosing class:
CreateEntityRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull EntityRequest body) build()Which app context owns the new entity.Which app context owns the new entity.from(CreateEntityRequest other) Whentrue, overwrite an existing entity's mutable fields instead of returning it unchanged.Whentrue, overwrite an existing entity's mutable fields instead of returning it unchanged.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateEntityRequest.BodyStage
-
body
- Specified by:
bodyin interfaceCreateEntityRequest.BodyStage
-
contextId
Which app context owns the new entity. Required when the namespace is context-placed and omitted otherwise: a tenant-placed namespace's entities are shared by every context, so supplying one is rejected. A context-confined credential may only name its own context. An entity's context is fixed at creation and cannot be changed afterwards.
- Specified by:
contextIdin interfaceCreateEntityRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contextId
Which app context owns the new entity. Required when the namespace is context-placed and omitted otherwise: a tenant-placed namespace's entities are shared by every context, so supplying one is rejected. A context-confined credential may only name its own context. An entity's context is fixed at creation and cannot be changed afterwards.
- Specified by:
contextIdin interfaceCreateEntityRequest._FinalStage
-
upsert
When
true, overwrite an existing entity's mutable fields instead of returning it unchanged. Requires theentities:u:<namespace>scope in addition toentities:c:<namespace>.- Specified by:
upsertin interfaceCreateEntityRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, overwrite an existing entity's mutable fields instead of returning it unchanged. Requires theentities:u:<namespace>scope in addition toentities:c:<namespace>.- Specified by:
upsertin interfaceCreateEntityRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateEntityRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateEntityRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateEntityRequest._FinalStage
-