Package com.dropbox.core.v2.files
Class CopyV2Builder
- java.lang.Object
- 
- com.dropbox.core.v2.files.CopyV2Builder
 
- 
 public class CopyV2Builder extends java.lang.ObjectThe request builder returned byDbxUserFilesRequests.copyV2Builder(java.lang.String, java.lang.String).Use this class to set optional request parameters and complete the request. 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RelocationResultstart()Issues the request.CopyV2BuilderwithAllowOwnershipTransfer(java.lang.Boolean allowOwnershipTransfer)Set value for optional field.CopyV2BuilderwithAllowSharedFolder(java.lang.Boolean allowSharedFolder)Set value for optional field.CopyV2BuilderwithAutorename(java.lang.Boolean autorename)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withAllowSharedFolderpublic CopyV2Builder 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 to- falsewhen set to- null.
- Returns:
- this builder
 
 - 
withAutorenamepublic CopyV2Builder 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, have the Dropbox server try to autorename the file to avoid the conflict. Defaults to- falsewhen set to- null.
- Returns:
- this builder
 
 - 
withAllowOwnershipTransferpublic CopyV2Builder 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 to- falsewhen set to- null.
- Returns:
- this builder
 
 - 
startpublic RelocationResult start() throws RelocationErrorException, DbxException Issues the request.- Throws:
- RelocationErrorException
- DbxException
 
 
- 
 
-