public static class DeletedMetadata.Builder extends Metadata.Builder
DeletedMetadata
.name, parentSharedFolderId, pathDisplay, pathLower
Modifier | Constructor and Description |
---|---|
protected |
Builder(String name) |
Modifier and Type | Method and Description |
---|---|
DeletedMetadata |
build()
Builds an instance of
DeletedMetadata configured with this
builder's values |
DeletedMetadata.Builder |
withParentSharedFolderId(String parentSharedFolderId)
Set value for optional field.
|
DeletedMetadata.Builder |
withPathDisplay(String pathDisplay)
Set value for optional field.
|
DeletedMetadata.Builder |
withPathLower(String pathLower)
Set value for optional field.
|
protected Builder(String name)
public DeletedMetadata.Builder withPathLower(String pathLower)
withPathLower
in class Metadata.Builder
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.public DeletedMetadata.Builder withPathDisplay(String pathDisplay)
withPathDisplay
in class Metadata.Builder
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. Changes to the casing of paths won't be
returned by DbxUserFilesRequests.listFolderContinue(String)
. This field will
be null if the file or folder is not mounted.public DeletedMetadata.Builder withParentSharedFolderId(String parentSharedFolderId)
withParentSharedFolderId
in class Metadata.Builder
parentSharedFolderId
- Deprecated. Please use FileSharingInfo.getParentSharedFolderId()
or FolderSharingInfo.getParentSharedFolderId()
instead. Must match
pattern "[-_0-9a-zA-Z:]+
".IllegalArgumentException
- If any argument does not meet its
preconditions.public DeletedMetadata build()
DeletedMetadata
configured with this
builder's valuesbuild
in class Metadata.Builder
DeletedMetadata