Class FolderCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class FolderCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
folderName
final FolderCreateParams.Body.Builder folderName(String folderName)
The folder will be created with this name.
All characters except alphabets and numbers (inclusive of unicode letters, marks, and numerals in other languages) will be replaced by an underscore i.e.
_.
-
folderName
final FolderCreateParams.Body.Builder folderName(JsonField<String> folderName)
Sets Builder.folderName to an arbitrary JSON value.
You should usually call Builder.folderName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
parentFolderPath
final FolderCreateParams.Body.Builder parentFolderPath(String parentFolderPath)
The folder where the new folder should be created, for root use
/else the path e.g.containing/folder/.Note: If any folder(s) is not present in the parentFolderPath parameter, it will be automatically created. For example, if you pass
/product/images/summer, thenproduct,images, andsummerfolders will be created if they don't already exist.
-
parentFolderPath
final FolderCreateParams.Body.Builder parentFolderPath(JsonField<String> parentFolderPath)
Sets Builder.parentFolderPath to an arbitrary JSON value.
You should usually call Builder.parentFolderPath with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FolderCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FolderCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FolderCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FolderCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FolderCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FolderCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.folderName() .parentFolderPath()
-
-
-
-