Package com.dropbox.core.v2.files
Class CopyBatchBuilder
- java.lang.Object
-
- com.dropbox.core.v2.files.CopyBatchBuilder
-
public class CopyBatchBuilder extends java.lang.Object
The request builder returned byDbxUserFilesRequests.copyBatchBuilder(java.util.List<com.dropbox.core.v2.files.RelocationPath>)
.Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelocationBatchLaunch
start()
Issues the request.CopyBatchBuilder
withAllowOwnershipTransfer(java.lang.Boolean allowOwnershipTransfer)
Set value for optional field.CopyBatchBuilder
withAllowSharedFolder(java.lang.Boolean allowSharedFolder)
Set value for optional field.CopyBatchBuilder
withAutorename(java.lang.Boolean autorename)
Set value for optional field.
-
-
-
Method Detail
-
withAutorename
public CopyBatchBuilder withAutorename(java.lang.Boolean autorename)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
autorename
- If there's a conflict with any file, have the Dropbox server try to autorename that file to avoid the conflict. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
withAllowSharedFolder
public CopyBatchBuilder withAllowSharedFolder(java.lang.Boolean allowSharedFolder)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
allowSharedFolder
- This flag has no effect. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
withAllowOwnershipTransfer
public CopyBatchBuilder withAllowOwnershipTransfer(java.lang.Boolean allowOwnershipTransfer)
Set value for optional field.If left unset or set to
null
, defaults tofalse
.- Parameters:
allowOwnershipTransfer
- Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies. Defaults tofalse
when set tonull
.- Returns:
- this builder
-
start
public RelocationBatchLaunch start() throws DbxApiException, DbxException
Issues the request.- Throws:
DbxApiException
DbxException
-
-