@UriParams public class DropboxConfiguration extends Object
Constructor and Description |
---|
DropboxConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
createClient()
Obtain a new instance of DbxClient and store it in configuration.
|
String |
getAccessToken() |
com.dropbox.core.DbxClient |
getClient() |
String |
getClientIdentifier() |
String |
getLocalPath() |
String |
getNewRemotePath() |
DropboxOperation |
getOperation() |
String |
getQuery() |
String |
getRemotePath() |
DropboxUploadMode |
getUploadMode() |
void |
setAccessToken(String accessToken)
The access token to make API requests for a specific Dropbox user
|
void |
setClient(com.dropbox.core.DbxClient client)
To use an existing DbxClient instance as DropBox client.
|
void |
setClientIdentifier(String clientIdentifier)
Name of the app registered to make API requests
|
void |
setLocalPath(String localPath)
Folder or file to upload on Dropbox from the local filesystem.
|
void |
setNewRemotePath(String newRemotePath)
Destination file or folder
|
void |
setOperation(DropboxOperation operation)
The specific action (typically is a CRUD action) to perform on Dropbox remote folder.
|
void |
setQuery(String query)
A space-separated list of substrings to search for.
|
void |
setRemotePath(String remotePath)
Original file or folder to move
|
void |
setUploadMode(DropboxUploadMode uploadMode)
Which mode to upload.
|
public void setClient(com.dropbox.core.DbxClient client)
public com.dropbox.core.DbxClient getClient()
public void createClient() throws DropboxException
DropboxException
public String getAccessToken()
public void setAccessToken(String accessToken)
public String getLocalPath()
public void setLocalPath(String localPath)
public String getRemotePath()
public void setRemotePath(String remotePath)
public String getNewRemotePath()
public void setNewRemotePath(String newRemotePath)
public String getQuery()
public void setQuery(String query)
public String getClientIdentifier()
public void setClientIdentifier(String clientIdentifier)
public DropboxOperation getOperation()
public void setOperation(DropboxOperation operation)
public DropboxUploadMode getUploadMode()
public void setUploadMode(DropboxUploadMode uploadMode)
Apache Camel