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, exchangePatternMethods inherited from interface org.apache.camel.builder.endpoint.dsl.BoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
lazyStartProducer, lazyStartProducerMethods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
- Specified by:
basicin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
basicin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder
-
httpParams
default BoxEndpointBuilderFactory.AdvancedBoxEndpointBuilder httpParams(Map<String, Object> httpParams) Custom HTTP params for settings like proxy host. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Specified by:
httpParamsin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
httpParamsin 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 a <code>java.util.Map<java.lang.String, java.lang.Object></code> type. Group: advanced- Specified by:
httpParamsin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
httpParamsin 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: <code>com.box.sdk.IAccessTokenCache</code> type. Group: security- Specified by:
accessTokenCachein interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
accessTokenCachein 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 a <code>com.box.sdk.IAccessTokenCache</code> type. Group: security- Specified by:
accessTokenCachein interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
accessTokenCachein 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: <code>com.box.sdk.EncryptionAlgorithm</code> type. Default: RSA_SHA_256 Group: security- Specified by:
encryptionAlgorithmin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
encryptionAlgorithmin 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 a <code>com.box.sdk.EncryptionAlgorithm</code> type. Default: RSA_SHA_256 Group: security- Specified by:
encryptionAlgorithmin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
encryptionAlgorithmin 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: <code>int</code> type. Default: 100 Group: security- Specified by:
maxCacheEntriesin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
maxCacheEntriesin 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 a <code>int</code> type. Default: 100 Group: security- Specified by:
maxCacheEntriesin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder- Specified by:
maxCacheEntriesin interfaceBoxEndpointBuilderFactory.AdvancedBoxEndpointProducerBuilder- Parameters:
maxCacheEntries- the value to set- Returns:
- the dsl builder
-