Class CreateEntityRequest.Builder
java.lang.Object
ai.vectros.resources.identity.requests.CreateEntityRequest.Builder
- All Implemented Interfaces:
CreateEntityRequest._FinalStage,CreateEntityRequest.BodyStage
- Enclosing class:
CreateEntityRequest
public static final class CreateEntityRequest.Builder
extends Object
implements CreateEntityRequest.BodyStage, CreateEntityRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull EntityRequest body) build()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
-
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
-