Interface BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
BoxEndpointBuilderFactory.BoxEndpointBuilder
- Enclosing interface:
- BoxEndpointBuilderFactory
public static interface BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the Box component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder
advanced()
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
authenticationType(String authenticationType)
The type of authentication for connection.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
clientId(String clientId)
Box application client ID.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
clientSecret(String clientSecret)
Box application client secret.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
enterpriseId(String enterpriseId)
The enterprise ID to use for an App Enterprise.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
inBody(String inBody)
Sets the name of a parameter to be passed in the exchange In Body.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
privateKeyFile(String privateKeyFile)
The private key for generating the JWT signature.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
privateKeyPassword(String privateKeyPassword)
The password for the private key.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
publicKeyId(String publicKeyId)
The ID for public key for validating the JWT signature.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
sslContextParameters(String sslContextParameters)
To configure security using SSLContextParameters.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
userId(String userId)
The user ID to use for an App User.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
userName(String userName)
Box user name, MUST be provided.default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder
userPassword(String userPassword)
Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call.
-
-
-
Method Detail
-
advanced
default BoxEndpointBuilderFactory.AdvancedBoxEndpointConsumerBuilder advanced()
-
clientId
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder clientId(String clientId)
Box application client ID. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
clientId
- the value to set- Returns:
- the dsl builder
-
enterpriseId
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder enterpriseId(String enterpriseId)
The enterprise ID to use for an App Enterprise. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
enterpriseId
- the value to set- Returns:
- the dsl builder
-
inBody
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder inBody(String 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- Parameters:
inBody
- the value to set- Returns:
- the dsl builder
-
userId
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder userId(String userId)
The user ID to use for an App User. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
userId
- the value to set- Returns:
- the dsl builder
-
authenticationType
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder 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: <code>java.lang.String</code> type. Default: APP_USER_AUTHENTICATION Group: authentication- Parameters:
authenticationType
- the value to set- Returns:
- the dsl builder
-
clientSecret
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder clientSecret(String clientSecret)
Box application client secret. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
clientSecret
- the value to set- Returns:
- the dsl builder
-
privateKeyFile
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder privateKeyFile(String privateKeyFile)
The private key for generating the JWT signature. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
privateKeyFile
- the value to set- Returns:
- the dsl builder
-
privateKeyPassword
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder privateKeyPassword(String privateKeyPassword)
The password for the private key. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
privateKeyPassword
- the value to set- Returns:
- the dsl builder
-
publicKeyId
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder publicKeyId(String publicKeyId)
The ID for public key for validating the JWT signature. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
publicKeyId
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder 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- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
sslContextParameters
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder 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- Parameters:
sslContextParameters
- the value to set- Returns:
- the dsl builder
-
userName
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder userName(String userName)
Box user name, MUST be provided. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
userName
- the value to set- Returns:
- the dsl builder
-
userPassword
default BoxEndpointBuilderFactory.BoxEndpointConsumerBuilder userPassword(String 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- Parameters:
userPassword
- the value to set- Returns:
- the dsl builder
-
-