public class MoveBatchV2Builder
extends java.lang.Object
DbxUserFilesRequests.moveBatchV2Builder(java.util.List<com.dropbox.core.v2.files.RelocationPath>)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
RelocationBatchV2Launch |
start()
Issues the request.
|
MoveBatchV2Builder |
withAllowOwnershipTransfer(java.lang.Boolean allowOwnershipTransfer)
Set value for optional field.
|
MoveBatchV2Builder |
withAutorename(java.lang.Boolean autorename)
Set value for optional field.
|
public MoveBatchV2Builder withAutorename(java.lang.Boolean autorename)
If left unset or set to null
, defaults to false
.
autorename
- If there's a conflict with any file, have the Dropbox
server try to autorename that file to avoid the conflict. Defaults to
false
when set to null
.public MoveBatchV2Builder withAllowOwnershipTransfer(java.lang.Boolean allowOwnershipTransfer)
If left unset or set to null
, defaults to false
.
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 to false
when set to
null
.public RelocationBatchV2Launch start() throws DbxApiException, DbxException
DbxApiException
DbxException