public static class DeletedMetadata.Builder extends Metadata.Builder
DeletedMetadata
.name, parentSharedFolderId, pathDisplay, pathLower
Modifier | Constructor and Description |
---|---|
protected |
Builder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
DeletedMetadata |
build()
Builds an instance of
DeletedMetadata configured with this
builder's values |
DeletedMetadata.Builder |
withParentSharedFolderId(java.lang.String parentSharedFolderId)
Set value for optional field.
|
DeletedMetadata.Builder |
withPathDisplay(java.lang.String pathDisplay)
Set value for optional field.
|
DeletedMetadata.Builder |
withPathLower(java.lang.String pathLower)
Set value for optional field.
|
public DeletedMetadata.Builder withPathLower(java.lang.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(java.lang.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, and at least the last path component will
have the correct casing. Changes to only 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(java.lang.String parentSharedFolderId)
withParentSharedFolderId
in class Metadata.Builder
parentSharedFolderId
- Please use FileSharingInfo.getParentSharedFolderId()
or FolderSharingInfo.getParentSharedFolderId()
instead. Must match
pattern "[-_0-9a-zA-Z:]+
".java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public DeletedMetadata build()
DeletedMetadata
configured with this
builder's valuesbuild
in class Metadata.Builder
DeletedMetadata