Class CreateFolderRequest.Builder
- All Implemented Interfaces:
CreateFolderRequest._FinalStage,CreateFolderRequest.BodyStage
- Enclosing class:
CreateFolderRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull FolderRequest body) build()from(CreateFolderRequest other) Whentrue, if a folder with the same slug already exists under the same parent its mutable fields (name,description, and ownership) are overwritten from the request and the version is bumped, instead of the existing folder being returned unchanged; the immutable slug and parent are never changed.Whentrue, if a folder with the same slug already exists under the same parent its mutable fields (name,description, and ownership) are overwritten from the request and the version is bumped, instead of the existing folder being returned unchanged; the immutable slug and parent are never changed.
-
Method Details
-
from
- Specified by:
fromin interfaceCreateFolderRequest.BodyStage
-
body
- Specified by:
bodyin interfaceCreateFolderRequest.BodyStage
-
upsert
When
true, if a folder with the same slug already exists under the same parent its mutable fields (name,description, and ownership) are overwritten from the request and the version is bumped, instead of the existing folder being returned unchanged; the immutable slug and parent are never changed. A re-applied upsert whose content matches is a no-op (no version bump). Defaults tofalse. Requires thefolders:uscope in addition tofolders:c.- Specified by:
upsertin interfaceCreateFolderRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, if a folder with the same slug already exists under the same parent its mutable fields (name,description, and ownership) are overwritten from the request and the version is bumped, instead of the existing folder being returned unchanged; the immutable slug and parent are never changed. A re-applied upsert whose content matches is a no-op (no version bump). Defaults tofalse. Requires thefolders:uscope in addition tofolders:c.- Specified by:
upsertin interfaceCreateFolderRequest._FinalStage
-
build
- Specified by:
buildin interfaceCreateFolderRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceCreateFolderRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceCreateFolderRequest._FinalStage
-