Class CreateSchemaRequest.Builder
- All Implemented Interfaces:
CreateSchemaRequest._FinalStage,CreateSchemaRequest.BodyStage
- Enclosing class:
CreateSchemaRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull SchemaRequest body) build()from(CreateSchemaRequest other) Whentrue, if a schema with the sametypeNamealready exists it is reconciled to the submitted shape (additive fields, lookups, renderHints, andactiveare applied) instead of being returned unchanged;typeNameand migration-locked lookup attributes (rangeEnabled/sortBy/sensitive) cannot be changed and a request to do so is rejected.Whentrue, if a schema with the sametypeNamealready exists it is reconciled to the submitted shape (additive fields, lookups, renderHints, andactiveare applied) instead of being returned unchanged;typeNameand migration-locked lookup attributes (rangeEnabled/sortBy/sensitive) cannot be changed and a request to do so is rejected.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateSchemaRequest.BodyStage
-
body
- Specified by:
bodyin interfaceCreateSchemaRequest.BodyStage
-
upsert
When
true, if a schema with the sametypeNamealready exists it is reconciled to the submitted shape (additive fields, lookups, renderHints, andactiveare applied) instead of being returned unchanged;typeNameand migration-locked lookup attributes (rangeEnabled/sortBy/sensitive) cannot be changed and a request to do so is rejected. A re-applied upsert whose declared shape is unchanged is a no-op (no schema-version bump). Defaults tofalse. Requires theschemas:wscope.- Specified by:
upsertin interfaceCreateSchemaRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, if a schema with the sametypeNamealready exists it is reconciled to the submitted shape (additive fields, lookups, renderHints, andactiveare applied) instead of being returned unchanged;typeNameand migration-locked lookup attributes (rangeEnabled/sortBy/sensitive) cannot be changed and a request to do so is rejected. A re-applied upsert whose declared shape is unchanged is a no-op (no schema-version bump). Defaults tofalse. Requires theschemas:wscope.- Specified by:
upsertin interfaceCreateSchemaRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateSchemaRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateSchemaRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateSchemaRequest._FinalStage
-