Package com.dropbox.core.v2.files
Class DeletedMetadata.Builder
java.lang.Object
com.dropbox.core.v2.files.Metadata.Builder
com.dropbox.core.v2.files.DeletedMetadata.Builder
- Enclosing class:
DeletedMetadata
Builder for
DeletedMetadata.-
Field Summary
FieldsFields inherited from class com.dropbox.core.v2.files.Metadata.Builder
name, parentSharedFolderId, pathDisplay, pathLower, previewUrl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofDeletedMetadataconfigured with this builder's valueswithIsRestorable(Boolean isRestorable) Set value for optional field.withParentSharedFolderId(String parentSharedFolderId) Deprecated.withPathDisplay(String pathDisplay) Set value for optional field.withPathLower(String pathLower) Set value for optional field.withPreviewUrl(String previewUrl) Set value for optional field.
-
Field Details
-
isRestorable
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withIsRestorable
Set value for optional field.- Parameters:
isRestorable- If present, indicates whether this deleted entry can be restored.- Returns:
- this builder
-
withPathLower
Set value for optional field.- Overrides:
withPathLowerin classMetadata.Builder- Parameters:
pathLower- The lowercased full path in the user's Dropbox. This always starts with a slash. This field will be null if the file or folder is not mounted.- Returns:
- this builder
-
withPathDisplay
Set value for optional field.- Overrides:
withPathDisplayin classMetadata.Builder- Parameters:
pathDisplay- The cased path to be used for display purposes only. In rare instances the casing will not correctly match the user's filesystem, but this behavior will match the path provided in the Core API v1, and at least the last path component will have the correct casing. Changes to only the casing of paths won't be returned byDbxAppFilesRequests.listFolderContinue(String). This field will be null if the file or folder is not mounted.- Returns:
- this builder
-
withPreviewUrl
Set value for optional field.- Overrides:
withPreviewUrlin classMetadata.Builder- Parameters:
previewUrl- The preview URL of the file.- Returns:
- this builder
-
build
Builds an instance ofDeletedMetadataconfigured with this builder's values- Overrides:
buildin classMetadata.Builder- Returns:
- new instance of
DeletedMetadata
-