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
 
 public static class DeletedMetadata.Builder extends Metadata.Builder Builder forDeletedMetadata.
- 
- 
Field Summary- 
Fields inherited from class com.dropbox.core.v2.files.Metadata.Buildername, parentSharedFolderId, pathDisplay, pathLower, previewUrl
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder(java.lang.String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletedMetadatabuild()Builds an instance ofDeletedMetadataconfigured with this builder's valuesDeletedMetadata.BuilderwithParentSharedFolderId(java.lang.String parentSharedFolderId)Set value for optional field.DeletedMetadata.BuilderwithPathDisplay(java.lang.String pathDisplay)Set value for optional field.DeletedMetadata.BuilderwithPathLower(java.lang.String pathLower)Set value for optional field.DeletedMetadata.BuilderwithPreviewUrl(java.lang.String previewUrl)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withPathLowerpublic DeletedMetadata.Builder withPathLower(java.lang.String pathLower) Set value for optional field.- Overrides:
- withPathLowerin class- Metadata.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
 
 - 
withPathDisplaypublic DeletedMetadata.Builder withPathDisplay(java.lang.String pathDisplay) Set value for optional field.- Overrides:
- withPathDisplayin class- Metadata.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 by- DbxAppFilesRequests.listFolderContinue(String). This field will be null if the file or folder is not mounted.
- Returns:
- this builder
 
 - 
withParentSharedFolderIdpublic DeletedMetadata.Builder withParentSharedFolderId(java.lang.String parentSharedFolderId) Set value for optional field.- Overrides:
- withParentSharedFolderIdin class- Metadata.Builder
- Parameters:
- parentSharedFolderId- Please use- FileSharingInfo.getParentSharedFolderId()or- FolderSharingInfo.getParentSharedFolderId()instead. Must match pattern "- [-_0-9a-zA-Z:]+".
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withPreviewUrlpublic DeletedMetadata.Builder withPreviewUrl(java.lang.String previewUrl) Set value for optional field.- Overrides:
- withPreviewUrlin class- Metadata.Builder
- Parameters:
- previewUrl- The preview URL of the file.
- Returns:
- this builder
 
 - 
buildpublic DeletedMetadata build() Builds an instance ofDeletedMetadataconfigured with this builder's values- Overrides:
- buildin class- Metadata.Builder
- Returns:
- new instance of DeletedMetadata
 
 
- 
 
-