Interface DropboxEndpointBuilderFactory.DropboxEndpointBuilder
-
- All Superinterfaces:
DropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder,DropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder,org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- DropboxEndpointBuilderFactory
public static interface DropboxEndpointBuilderFactory.DropboxEndpointBuilder extends DropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder, DropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder
Builder for endpoint for the Dropbox component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DropboxEndpointBuilderFactory.DropboxEndpointBuilderaccessToken(String accessToken)The access token to make API requests for a specific Dropbox user.default DropboxEndpointBuilderFactory.AdvancedDropboxEndpointBuilderadvanced()default DropboxEndpointBuilderFactory.DropboxEndpointBuilderapiKey(String apiKey)The apiKey to make API requests for a specific Dropbox user.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderapiSecret(String apiSecret)The apiSecret to make API requests for a specific Dropbox user.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderclient(Object client)To use an existing DbxClient instance as DropBox client.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderclient(String client)To use an existing DbxClient instance as DropBox client.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderclientIdentifier(String clientIdentifier)Name of the app registered to make API requests.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderexpireIn(Long expireIn)The expire time to access token for a specific Dropbox user.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderexpireIn(String expireIn)The expire time to access token for a specific Dropbox user.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderlocalPath(String localPath)Optional folder or file to upload on Dropbox from the local filesystem.default DropboxEndpointBuilderFactory.DropboxEndpointBuildernewRemotePath(String newRemotePath)Destination file or folder.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderquery(String query)A space-separated list of sub-strings to search for.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderrefreshToken(String refreshToken)The refresh token to refresh the access token for a specific Dropbox user.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderremotePath(String remotePath)Original file or folder to move.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderuploadMode(String uploadMode)Which mode to upload.default DropboxEndpointBuilderFactory.DropboxEndpointBuilderuploadMode(DropboxEndpointBuilderFactory.DropboxUploadMode uploadMode)Which mode to upload.-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.DropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder
bridgeErrorHandler, bridgeErrorHandler
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.DropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
-
-
-
Method Detail
-
advanced
default DropboxEndpointBuilderFactory.AdvancedDropboxEndpointBuilder advanced()
- Specified by:
advancedin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
advancedin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder
-
accessToken
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder accessToken(String accessToken)
The access token to make API requests for a specific Dropbox user. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Specified by:
accessTokenin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
accessTokenin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
accessToken- the value to set- Returns:
- the dsl builder
-
apiKey
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder apiKey(String apiKey)
The apiKey to make API requests for a specific Dropbox user. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Specified by:
apiKeyin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
apiKeyin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
apiKey- the value to set- Returns:
- the dsl builder
-
apiSecret
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder apiSecret(String apiSecret)
The apiSecret to make API requests for a specific Dropbox user. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Specified by:
apiSecretin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
apiSecretin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
apiSecret- the value to set- Returns:
- the dsl builder
-
client
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder client(Object client)
To use an existing DbxClient instance as DropBox client. The option is a: <code>com.dropbox.core.v2.DbxClientV2</code> type. Group: common- Specified by:
clientin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
clientin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
client- the value to set- Returns:
- the dsl builder
-
client
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder client(String client)
To use an existing DbxClient instance as DropBox client. The option will be converted to a <code>com.dropbox.core.v2.DbxClientV2</code> type. Group: common- Specified by:
clientin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
clientin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
client- the value to set- Returns:
- the dsl builder
-
clientIdentifier
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder clientIdentifier(String clientIdentifier)
Name of the app registered to make API requests. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
clientIdentifierin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
clientIdentifierin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
clientIdentifier- the value to set- Returns:
- the dsl builder
-
expireIn
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder expireIn(Long expireIn)
The expire time to access token for a specific Dropbox user. The option is a: <code>java.lang.Long</code> type. Required: true Group: common- Specified by:
expireInin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
expireInin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
expireIn- the value to set- Returns:
- the dsl builder
-
expireIn
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder expireIn(String expireIn)
The expire time to access token for a specific Dropbox user. The option will be converted to a <code>java.lang.Long</code> type. Required: true Group: common- Specified by:
expireInin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
expireInin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
expireIn- the value to set- Returns:
- the dsl builder
-
localPath
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder localPath(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. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
localPathin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
localPathin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
localPath- the value to set- Returns:
- the dsl builder
-
newRemotePath
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder newRemotePath(String newRemotePath)
Destination file or folder. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
newRemotePathin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
newRemotePathin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
newRemotePath- the value to set- Returns:
- the dsl builder
-
query
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder query(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. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
queryin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
queryin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
query- the value to set- Returns:
- the dsl builder
-
refreshToken
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder refreshToken(String refreshToken)
The refresh token to refresh the access token for a specific Dropbox user. The option is a: <code>java.lang.String</code> type. Required: true Group: common- Specified by:
refreshTokenin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
refreshTokenin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
refreshToken- the value to set- Returns:
- the dsl builder
-
remotePath
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder remotePath(String remotePath)
Original file or folder to move. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
remotePathin interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
remotePathin interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
remotePath- the value to set- Returns:
- the dsl builder
-
uploadMode
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder uploadMode(DropboxEndpointBuilderFactory.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. The option is a: <code>org.apache.camel.component.dropbox.util.DropboxUploadMode</code> type. Group: common- Specified by:
uploadModein interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
uploadModein interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
uploadMode- the value to set- Returns:
- the dsl builder
-
uploadMode
default DropboxEndpointBuilderFactory.DropboxEndpointBuilder uploadMode(String 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. The option will be converted to a <code>org.apache.camel.component.dropbox.util.DropboxUploadMode</code> type. Group: common- Specified by:
uploadModein interfaceDropboxEndpointBuilderFactory.DropboxEndpointConsumerBuilder- Specified by:
uploadModein interfaceDropboxEndpointBuilderFactory.DropboxEndpointProducerBuilder- Parameters:
uploadMode- the value to set- Returns:
- the dsl builder
-
-