Interface GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamComponent>
- All Known Implementing Classes:
GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderImpl
- Enclosing interface:
- GoogleSheetsStreamComponentBuilderFactory
public static interface GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder extends ComponentBuilder<org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamComponent>
Builder for the Google Sheets Stream component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderaccessToken(String accessToken)OAuth 2 access token.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderapplicationName(String applicationName)Google sheets application name.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderbasicPropertyBinding(boolean basicPropertyBinding)Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderbridgeErrorHandler(boolean bridgeErrorHandler)Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderclientFactory(org.apache.camel.component.google.sheets.GoogleSheetsClientFactory clientFactory)To use the GoogleSheetsClientFactory as factory for creating the client.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderclientId(String clientId)Client ID of the sheets application.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderclientSecret(String clientSecret)Client secret of the sheets application.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderconfiguration(org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration configuration)To use the shared configuration.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderincludeGridData(boolean includeGridData)True if grid data should be returned.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuildermajorDimension(String majorDimension)Specifies the major dimension that results should use..default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuildermaxResults(int maxResults)Specify the maximum number of returned results.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderrange(String range)Specifies the range of rows and columns in a sheet to get data from.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderrefreshToken(String refreshToken)OAuth 2 refresh token.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderscopes(List<String> scopes)Specifies the level of permissions you want a sheets application to have to a user account.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuildersplitResults(boolean splitResults)True if value range result should be split into rows or columns to process each of them individually.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilderspreadsheetId(String spreadsheetId)Specifies the spreadsheet identifier that is used to identify the target to obtain.default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuildervalueRenderOption(String valueRenderOption)Determines how values should be rendered in the output.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
accessToken
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder 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:java.lang.Stringtype. Group: consumer
-
applicationName
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder applicationName(String applicationName)
Google sheets application name. Example would be camel-google-sheets/1.0. The option is a:java.lang.Stringtype. Group: consumer
-
bridgeErrorHandler
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a:booleantype. Default: false Group: consumer
-
clientId
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder clientId(String clientId)
Client ID of the sheets application. The option is a:java.lang.Stringtype. Group: consumer
-
clientSecret
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder clientSecret(String clientSecret)
Client secret of the sheets application. The option is a:java.lang.Stringtype. Group: consumer
-
configuration
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder configuration(org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration configuration)
To use the shared configuration. The option is a:org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfigurationtype. Group: consumer
-
includeGridData
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder includeGridData(boolean includeGridData)
True if grid data should be returned. The option is a:booleantype. Default: false Group: consumer
-
majorDimension
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder majorDimension(String majorDimension)
Specifies the major dimension that results should use.. The option is a:java.lang.Stringtype. Default: ROWS Group: consumer
-
maxResults
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder maxResults(int maxResults)
Specify the maximum number of returned results. This will limit the number of rows in a returned value range data set or the number of returned value ranges in a batch request. The option is a:inttype. Default: 0 Group: consumer
-
range
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder range(String range)
Specifies the range of rows and columns in a sheet to get data from. The option is a:java.lang.Stringtype. Group: consumer
-
refreshToken
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder 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:java.lang.Stringtype. Group: consumer
-
scopes
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder scopes(List<String> scopes)
Specifies the level of permissions you want a sheets application to have to a user account. See https://developers.google.com/identity/protocols/googlescopes for more info. The option is a:java.util.Listtype. Group: consumer
-
splitResults
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder splitResults(boolean splitResults)
True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size. The option is a:booleantype. Default: false Group: consumer
-
spreadsheetId
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder spreadsheetId(String spreadsheetId)
Specifies the spreadsheet identifier that is used to identify the target to obtain. The option is a:java.lang.Stringtype. Group: consumer
-
valueRenderOption
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder valueRenderOption(String valueRenderOption)
Determines how values should be rendered in the output. The option is a:java.lang.Stringtype. Default: FORMATTED_VALUE Group: consumer
-
basicPropertyBinding
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities. The option is a:booleantype. Default: false Group: advanced
-
clientFactory
default GoogleSheetsStreamComponentBuilderFactory.GoogleSheetsStreamComponentBuilder clientFactory(org.apache.camel.component.google.sheets.GoogleSheetsClientFactory clientFactory)
To use the GoogleSheetsClientFactory as factory for creating the client. Will by default use BatchGoogleSheetsClientFactory. The option is a:org.apache.camel.component.google.sheets.GoogleSheetsClientFactorytype. Group: advanced
-
-