Interface BoxComponentBuilderFactory.BoxComponentBuilder
-
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.box.BoxComponent>
- All Known Implementing Classes:
BoxComponentBuilderFactory.BoxComponentBuilderImpl
- Enclosing interface:
- BoxComponentBuilderFactory
public static interface BoxComponentBuilderFactory.BoxComponentBuilder extends ComponentBuilder<org.apache.camel.component.box.BoxComponent>
Builder for the Box component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BoxComponentBuilderFactory.BoxComponentBuilderaccessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache)Custom Access Token Cache for storing and retrieving access tokens.default BoxComponentBuilderFactory.BoxComponentBuilderauthenticationType(String authenticationType)The type of authentication for connection.default BoxComponentBuilderFactory.BoxComponentBuilderbasicPropertyBinding(boolean basicPropertyBinding)Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities.default BoxComponentBuilderFactory.BoxComponentBuilderbridgeErrorHandler(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 BoxComponentBuilderFactory.BoxComponentBuilderclientId(String clientId)Box application client ID.default BoxComponentBuilderFactory.BoxComponentBuilderclientSecret(String clientSecret)Box application client secret.default BoxComponentBuilderFactory.BoxComponentBuilderconfiguration(org.apache.camel.component.box.BoxConfiguration configuration)To use the shared configuration.default BoxComponentBuilderFactory.BoxComponentBuilderencryptionAlgorithm(com.box.sdk.EncryptionAlgorithm encryptionAlgorithm)The type of encryption algorithm for JWT.default BoxComponentBuilderFactory.BoxComponentBuilderenterpriseId(String enterpriseId)The enterprise ID to use for an App Enterprise.default BoxComponentBuilderFactory.BoxComponentBuilderhttpParams(Map<String,Object> httpParams)Custom HTTP params for settings like proxy host.default BoxComponentBuilderFactory.BoxComponentBuilderlazyStartProducer(boolean lazyStartProducer)Whether the producer should be started lazy (on the first message).default BoxComponentBuilderFactory.BoxComponentBuildermaxCacheEntries(int maxCacheEntries)The maximum number of access tokens in cache.default BoxComponentBuilderFactory.BoxComponentBuilderprivateKeyFile(String privateKeyFile)The private key for generating the JWT signature.default BoxComponentBuilderFactory.BoxComponentBuilderprivateKeyPassword(String privateKeyPassword)The password for the private key.default BoxComponentBuilderFactory.BoxComponentBuilderpublicKeyId(String publicKeyId)The ID for public key for validating the JWT signature.default BoxComponentBuilderFactory.BoxComponentBuildersslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)To configure security using SSLContextParameters.default BoxComponentBuilderFactory.BoxComponentBuilderuserId(String userId)The user ID to use for an App User.default BoxComponentBuilderFactory.BoxComponentBuilderuserName(String userName)Box user name, MUST be provided.default BoxComponentBuilderFactory.BoxComponentBuilderuserPassword(String userPassword)Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call.-
Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
-
-
-
Method Detail
-
clientId
default BoxComponentBuilderFactory.BoxComponentBuilder clientId(String clientId)
Box application client ID. The option is a:java.lang.Stringtype. Group: common
-
configuration
default BoxComponentBuilderFactory.BoxComponentBuilder configuration(org.apache.camel.component.box.BoxConfiguration configuration)
To use the shared configuration. The option is a:org.apache.camel.component.box.BoxConfigurationtype. Group: common
-
enterpriseId
default BoxComponentBuilderFactory.BoxComponentBuilder enterpriseId(String enterpriseId)
The enterprise ID to use for an App Enterprise. The option is a:java.lang.Stringtype. Group: common
-
userId
default BoxComponentBuilderFactory.BoxComponentBuilder userId(String userId)
The user ID to use for an App User. The option is a:java.lang.Stringtype. Group: common
-
bridgeErrorHandler
default BoxComponentBuilderFactory.BoxComponentBuilder 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
-
lazyStartProducer
default BoxComponentBuilderFactory.BoxComponentBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:booleantype. Default: false Group: producer
-
basicPropertyBinding
default BoxComponentBuilderFactory.BoxComponentBuilder 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
-
httpParams
default BoxComponentBuilderFactory.BoxComponentBuilder httpParams(Map<String,Object> httpParams)
Custom HTTP params for settings like proxy host. The option is a:java.util.Maptype. Group: advanced
-
authenticationType
default BoxComponentBuilderFactory.BoxComponentBuilder authenticationType(String authenticationType)
The type of authentication for connection. Types of Authentication: STANDARD_AUTHENTICATION - OAuth 2.0 (3-legged) SERVER_AUTHENTICATION - OAuth 2.0 with JSON Web Tokens. The option is a:java.lang.Stringtype. Default: APP_USER_AUTHENTICATION Group: authentication
-
accessTokenCache
default BoxComponentBuilderFactory.BoxComponentBuilder accessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache)
Custom Access Token Cache for storing and retrieving access tokens. The option is a:com.box.sdk.IAccessTokenCachetype. Group: security
-
clientSecret
default BoxComponentBuilderFactory.BoxComponentBuilder clientSecret(String clientSecret)
Box application client secret. The option is a:java.lang.Stringtype. Group: security
-
encryptionAlgorithm
default BoxComponentBuilderFactory.BoxComponentBuilder encryptionAlgorithm(com.box.sdk.EncryptionAlgorithm encryptionAlgorithm)
The type of encryption algorithm for JWT. Supported Algorithms: RSA_SHA_256 RSA_SHA_384 RSA_SHA_512. The option is a:com.box.sdk.EncryptionAlgorithmtype. Default: RSA_SHA_256 Group: security
-
maxCacheEntries
default BoxComponentBuilderFactory.BoxComponentBuilder maxCacheEntries(int maxCacheEntries)
The maximum number of access tokens in cache. The option is a:inttype. Default: 100 Group: security
-
privateKeyFile
default BoxComponentBuilderFactory.BoxComponentBuilder privateKeyFile(String privateKeyFile)
The private key for generating the JWT signature. The option is a:java.lang.Stringtype. Group: security
-
privateKeyPassword
default BoxComponentBuilderFactory.BoxComponentBuilder privateKeyPassword(String privateKeyPassword)
The password for the private key. The option is a:java.lang.Stringtype. Group: security
-
publicKeyId
default BoxComponentBuilderFactory.BoxComponentBuilder publicKeyId(String publicKeyId)
The ID for public key for validating the JWT signature. The option is a:java.lang.Stringtype. Group: security
-
sslContextParameters
default BoxComponentBuilderFactory.BoxComponentBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters. The option is a:org.apache.camel.support.jsse.SSLContextParameterstype. Group: security
-
userName
default BoxComponentBuilderFactory.BoxComponentBuilder userName(String userName)
Box user name, MUST be provided. The option is a:java.lang.Stringtype. Group: security
-
userPassword
default BoxComponentBuilderFactory.BoxComponentBuilder userPassword(String userPassword)
Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call. The option is a:java.lang.Stringtype. Group: security
-
-