Class CreateAppContextRequest.Builder
java.lang.Object
ai.vectros.resources.auth.requests.CreateAppContextRequest.Builder
- All Implemented Interfaces:
CreateAppContextRequest._FinalStage,CreateAppContextRequest.BodyStage
- Enclosing class:
CreateAppContextRequest
public static final class CreateAppContextRequest.Builder
extends Object
implements CreateAppContextRequest.BodyStage, CreateAppContextRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull AppContextRequest body) build()from(CreateAppContextRequest other) Whentrue, if an app context with the samecontextIdalready exists itsnameanddescriptionare updated to the submitted values instead of being returned unchanged.Whentrue, if an app context with the samecontextIdalready exists itsnameanddescriptionare updated to the submitted values instead of being returned unchanged.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateAppContextRequest.BodyStage
-
body
- Specified by:
bodyin interfaceCreateAppContextRequest.BodyStage
-
upsert
When
true, if an app context with the samecontextIdalready exists itsnameanddescriptionare updated to the submitted values instead of being returned unchanged. Defaults tofalse. Requires theapp-contexts:uscope in addition toapp-contexts:c.- Specified by:
upsertin interfaceCreateAppContextRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, if an app context with the samecontextIdalready exists itsnameanddescriptionare updated to the submitted values instead of being returned unchanged. Defaults tofalse. Requires theapp-contexts:uscope in addition toapp-contexts:c.- Specified by:
upsertin interfaceCreateAppContextRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateAppContextRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateAppContextRequest._FinalStage
-
additionalProperties
public CreateAppContextRequest.Builder additionalProperties(Map<String, Object> additionalProperties) - Specified by:
additionalPropertiesin interfaceCreateAppContextRequest._FinalStage
-