Class DropboxConfiguration


  • @UriParams
    public class DropboxConfiguration
    extends Object
    • Constructor Detail

      • DropboxConfiguration

        public DropboxConfiguration()
    • Method Detail

      • setClient

        public void setClient​(com.dropbox.core.v2.DbxClientV2 client)
        To use an existing DbxClient instance as Dropbox client.
      • getClient

        public com.dropbox.core.v2.DbxClientV2 getClient()
      • createClient

        public void createClient()
        Obtain a new instance of DbxClient and store it in configuration.
      • getAccessToken

        public String getAccessToken()
      • setAccessToken

        public void setAccessToken​(String accessToken)
        The access token to make API requests for a specific Dropbox user
      • getLocalPath

        public String getLocalPath()
      • getRefreshToken

        public String getRefreshToken()
      • setRefreshToken

        public void setRefreshToken​(String refreshToken)
        The refresh token to refresh the access token for a specific Dropbox user
      • getApiKey

        public String getApiKey()
      • setApiKey

        public void setApiKey​(String apiKey)
        The apiKey to make API requests for a specific Dropbox user
      • getApiSecret

        public String getApiSecret()
        The apiSecret to make API requests for a specific Dropbox user
      • setApiSecret

        public void setApiSecret​(String apiSecret)
      • getExpireIn

        public Long getExpireIn()
        The expire time to access token for a specific Dropbox user
      • setExpireIn

        public void setExpireIn​(Long expireIn)
      • setLocalPath

        public void setLocalPath​(String localPath)
        Optional folder or file to upload on Dropbox from the local filesystem. If this option has not been configured then the message body is used as the content to upload.
      • getRemotePath

        public String getRemotePath()
      • setRemotePath

        public void setRemotePath​(String remotePath)
        Original file or folder to move
      • getNewRemotePath

        public String getNewRemotePath()
      • setNewRemotePath

        public void setNewRemotePath​(String newRemotePath)
        Destination file or folder
      • getQuery

        public String getQuery()
      • setQuery

        public void setQuery​(String query)
        A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.
      • getClientIdentifier

        public String getClientIdentifier()
      • setClientIdentifier

        public void setClientIdentifier​(String clientIdentifier)
        Name of the app registered to make API requests
      • setOperation

        public void setOperation​(DropboxOperation operation)
        The specific action (typically is a CRUD action) to perform on Dropbox remote folder.
      • setUploadMode

        public void setUploadMode​(DropboxUploadMode uploadMode)
        Which mode to upload. in case of "add" the new file will be renamed if a file with the same name already exists on dropbox. in case of "force" if a file with the same name already exists on dropbox, this will be overwritten.