Interface BoxEndpointBuilderFactory.BoxEndpointBuilder
- All Superinterfaces:
BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder,BoxEndpointBuilderFactory.BoxEndpointProducerBuilder,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.BoxEndpointBuilder
extends BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder, BoxEndpointBuilderFactory.BoxEndpointProducerBuilder
Builder for endpoint for the Box component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()authenticationType(String authenticationType) The type of authentication for connection.Box application client ID.clientSecret(String clientSecret) Box application client secret.enterpriseId(String enterpriseId) The enterprise ID to use for an App Enterprise.Sets the name of a parameter to be passed in the exchange In Body.privateKeyFile(String privateKeyFile) The private key for generating the JWT signature.privateKeyPassword(String privateKeyPassword) The password for the private key.publicKeyId(String publicKeyId) The ID for public key for validating the JWT signature.sslContextParameters(String sslContextParameters) To configure security using SSLContextParameters.sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters.The user ID to use for an App User.Box user name, MUST be provided.userPassword(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.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
-
advanced
- Specified by:
advancedin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
advancedin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder
-
clientId
Box application client ID. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
clientIdin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
clientIdin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
clientId- the value to set- Returns:
- the dsl builder
-
enterpriseId
The enterprise ID to use for an App Enterprise. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
enterpriseIdin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
enterpriseIdin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
enterpriseId- the value to set- Returns:
- the dsl builder
-
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 interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
inBodyin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
inBody- the value to set- Returns:
- the dsl builder
-
userId
The user ID to use for an App User. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
userIdin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
userIdin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
userId- the value to set- Returns:
- the dsl builder
-
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: <code>java.lang.String</code> type. Default: APP_USER_AUTHENTICATION Group: authentication- Specified by:
authenticationTypein interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
authenticationTypein interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
authenticationType- the value to set- Returns:
- the dsl builder
-
clientSecret
Box application client secret. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
clientSecretin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
clientSecretin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
clientSecret- the value to set- Returns:
- the dsl builder
-
privateKeyFile
The private key for generating the JWT signature. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
privateKeyFilein interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
privateKeyFilein interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
privateKeyFile- the value to set- Returns:
- the dsl builder
-
privateKeyPassword
The password for the private key. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
privateKeyPasswordin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
privateKeyPasswordin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
privateKeyPassword- the value to set- Returns:
- the dsl builder
-
publicKeyId
The ID for public key for validating the JWT signature. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
publicKeyIdin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
publicKeyIdin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
publicKeyId- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default BoxEndpointBuilderFactory.BoxEndpointBuilder sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters) To configure security using SSLContextParameters. The option is a: <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default BoxEndpointBuilderFactory.BoxEndpointBuilder sslContextParameters(String sslContextParameters) To configure security using SSLContextParameters. The option will be converted to a <code>org.apache.camel.support.jsse.SSLContextParameters</code> type. Group: security- Specified by:
sslContextParametersin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
sslContextParametersin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
sslContextParameters- the value to set- Returns:
- the dsl builder
-
userName
Box user name, MUST be provided. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
userNamein interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
userNamein interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
userName- the value to set- Returns:
- the dsl builder
-
userPassword
Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
userPasswordin interfaceBoxEndpointBuilderFactory.BoxEndpointConsumerBuilder- Specified by:
userPasswordin interfaceBoxEndpointBuilderFactory.BoxEndpointProducerBuilder- Parameters:
userPassword- the value to set- Returns:
- the dsl builder
-