Interface GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder,GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder
- Enclosing interface:
- GoogleDriveEndpointBuilderFactory
public static interface GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder extends GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder, GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder
Builder for endpoint for the Google Drive component.
-
-
Method Summary
-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder
backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, bridgeErrorHandler, bridgeErrorHandler, delay, delay, greedy, greedy, initialDelay, initialDelay, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelay
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
-
-
-
-
Method Detail
-
advanced
default GoogleDriveEndpointBuilderFactory.AdvancedGoogleDriveEndpointBuilder advanced()
- Specified by:
advancedin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
advancedin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder
-
applicationName
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder applicationName(String applicationName)
Google drive application name. Example would be camel-google-drive/1.0. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
applicationNamein interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
applicationNamein interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
applicationName- the value to set- Returns:
- the dsl builder
-
clientFactory
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder clientFactory(Object clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the client. Will by default use BatchGoogleDriveClientFactory. The option is a: <code>org.apache.camel.component.google.drive.GoogleDriveClientFactory</code> type. Group: common- Specified by:
clientFactoryin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
clientFactoryin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
clientFactory- the value to set- Returns:
- the dsl builder
-
clientFactory
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder clientFactory(String clientFactory)
To use the GoogleCalendarClientFactory as factory for creating the client. Will by default use BatchGoogleDriveClientFactory. The option will be converted to a <code>org.apache.camel.component.google.drive.GoogleDriveClientFactory</code> type. Group: common- Specified by:
clientFactoryin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
clientFactoryin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
clientFactory- the value to set- Returns:
- the dsl builder
-
clientId
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder clientId(String clientId)
Client ID of the drive application. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
clientIdin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
clientIdin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
clientId- the value to set- Returns:
- the dsl builder
-
inBody
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
inBodyin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
inBodyin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
inBody- the value to set- Returns:
- the dsl builder
-
scopes
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder scopes(List<String> scopes)
Specifies the level of permissions you want a drive application to have to a user account. See https://developers.google.com/drive/web/scopes for more info. The option is a: <code>java.util.List<java.lang.String></code> type. Group: common- Specified by:
scopesin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
scopesin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
scopes- the value to set- Returns:
- the dsl builder
-
scopes
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder scopes(String scopes)
Specifies the level of permissions you want a drive application to have to a user account. See https://developers.google.com/drive/web/scopes for more info. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Specified by:
scopesin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
scopesin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
scopes- the value to set- Returns:
- the dsl builder
-
accessToken
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder accessToken(String accessToken)
OAuth 2 access token. This typically expires after an hour so refreshToken is recommended for long term usage. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
accessTokenin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
accessTokenin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
accessToken- the value to set- Returns:
- the dsl builder
-
clientSecret
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder clientSecret(String clientSecret)
Client secret of the drive application. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
clientSecretin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
clientSecretin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
clientSecret- the value to set- Returns:
- the dsl builder
-
refreshToken
default GoogleDriveEndpointBuilderFactory.GoogleDriveEndpointBuilder refreshToken(String refreshToken)
OAuth 2 refresh token. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
refreshTokenin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointConsumerBuilder- Specified by:
refreshTokenin interfaceGoogleDriveEndpointBuilderFactory.GoogleDriveEndpointProducerBuilder- Parameters:
refreshToken- the value to set- Returns:
- the dsl builder
-
-