Interface BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder
- All Superinterfaces:
BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
,BoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
,org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
BoxEndpointBuilderFactory
public static interface BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder
extends BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder, BoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
Advanced builder for endpoint for the Box component.
-
Method Summary
Modifier and TypeMethodDescriptionaccessTokenCache
(com.box.sdk.IAccessTokenCache accessTokenCache) Custom Access Token Cache for storing and retrieving access tokens.accessTokenCache
(String accessTokenCache) Custom Access Token Cache for storing and retrieving access tokens.basic()
encryptionAlgorithm
(com.box.sdk.EncryptionAlgorithm encryptionAlgorithm) The type of encryption algorithm for JWT.encryptionAlgorithm
(String encryptionAlgorithm) The type of encryption algorithm for JWT.httpParams
(String httpParams) Custom HTTP params for settings like proxy host.httpParams
(Map<String, Object> httpParams) Custom HTTP params for settings like proxy host.maxCacheEntries
(int maxCacheEntries) The maximum number of access tokens in cache.maxCacheEntries
(String maxCacheEntries) The maximum number of access tokens in cache.Methods inherited from interface org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
exceptionHandler, exceptionHandler, exchangePattern, exchangePattern
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
lazyStartProducer, lazyStartProducer
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
- Specified by:
basic
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
basic
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
-
httpParams
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder httpParams(Map<String, Object> httpParams) Custom HTTP params for settings like proxy host. The option is a:java.util.Map<java.lang.String, java.lang.Object>
type. Group: advanced- Specified by:
httpParams
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
httpParams
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
httpParams
- the value to set- Returns:
- the dsl builder
-
httpParams
Custom HTTP params for settings like proxy host. The option will be converted to ajava.util.Map<java.lang.String, java.lang.Object>
type. Group: advanced- Specified by:
httpParams
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
httpParams
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
httpParams
- the value to set- Returns:
- the dsl builder
-
accessTokenCache
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder accessTokenCache(com.box.sdk.IAccessTokenCache accessTokenCache) Custom Access Token Cache for storing and retrieving access tokens. The option is a:com.box.sdk.IAccessTokenCache
type. Group: security- Specified by:
accessTokenCache
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
accessTokenCache
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
accessTokenCache
- the value to set- Returns:
- the dsl builder
-
accessTokenCache
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder accessTokenCache(String accessTokenCache) Custom Access Token Cache for storing and retrieving access tokens. The option will be converted to acom.box.sdk.IAccessTokenCache
type. Group: security- Specified by:
accessTokenCache
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
accessTokenCache
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
accessTokenCache
- the value to set- Returns:
- the dsl builder
-
encryptionAlgorithm
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder 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.EncryptionAlgorithm
type. Default: RSA_SHA_256 Group: security- Specified by:
encryptionAlgorithm
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
encryptionAlgorithm
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
encryptionAlgorithm
- the value to set- Returns:
- the dsl builder
-
encryptionAlgorithm
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder encryptionAlgorithm(String encryptionAlgorithm) The type of encryption algorithm for JWT. Supported Algorithms: RSA_SHA_256 RSA_SHA_384 RSA_SHA_512. The option will be converted to acom.box.sdk.EncryptionAlgorithm
type. Default: RSA_SHA_256 Group: security- Specified by:
encryptionAlgorithm
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
encryptionAlgorithm
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
encryptionAlgorithm
- the value to set- Returns:
- the dsl builder
-
maxCacheEntries
The maximum number of access tokens in cache. The option is a:int
type. Default: 100 Group: security- Specified by:
maxCacheEntries
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
maxCacheEntries
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
maxCacheEntries
- the value to set- Returns:
- the dsl builder
-
maxCacheEntries
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder maxCacheEntries(String maxCacheEntries) The maximum number of access tokens in cache. The option will be converted to aint
type. Default: 100 Group: security- Specified by:
maxCacheEntries
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
- Specified by:
maxCacheEntries
in interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
- Parameters:
maxCacheEntries
- the value to set- Returns:
- the dsl builder
-