Interface WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
WatsonLanguageEndpointBuilderFactory
public static interface WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the IBM Watson Language component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()analyzeCategories(boolean analyzeCategories) Enable category classification.analyzeCategories(String analyzeCategories) Enable category classification.analyzeConcepts(boolean analyzeConcepts) Enable concept extraction.analyzeConcepts(String analyzeConcepts) Enable concept extraction.analyzeEmotion(boolean analyzeEmotion) Enable emotion analysis.analyzeEmotion(String analyzeEmotion) Enable emotion analysis.analyzeEntities(boolean analyzeEntities) Enable entity extraction.analyzeEntities(String analyzeEntities) Enable entity extraction.analyzeKeywords(boolean analyzeKeywords) Enable keyword extraction.analyzeKeywords(String analyzeKeywords) Enable keyword extraction.analyzeSentiment(boolean analyzeSentiment) Enable sentiment analysis.analyzeSentiment(String analyzeSentiment) Enable sentiment analysis.The IBM Cloud API key for authentication.The operation to perform.operation(org.apache.camel.component.ibm.watson.language.WatsonLanguageOperations operation) The operation to perform.serviceUrl(String serviceUrl) The service endpoint URL.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
serviceUrl
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder serviceUrl(String serviceUrl) The service endpoint URL. If not specified, the default URL will be used. The option is a:java.lang.Stringtype. Group: common- Parameters:
serviceUrl- the value to set- Returns:
- the dsl builder
-
analyzeCategories
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeCategories(boolean analyzeCategories) Enable category classification. The option is a:booleantype. Default: false Group: producer- Parameters:
analyzeCategories- the value to set- Returns:
- the dsl builder
-
analyzeCategories
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeCategories(String analyzeCategories) Enable category classification. The option will be converted to abooleantype. Default: false Group: producer- Parameters:
analyzeCategories- the value to set- Returns:
- the dsl builder
-
analyzeConcepts
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeConcepts(boolean analyzeConcepts) Enable concept extraction. The option is a:booleantype. Default: false Group: producer- Parameters:
analyzeConcepts- the value to set- Returns:
- the dsl builder
-
analyzeConcepts
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeConcepts(String analyzeConcepts) Enable concept extraction. The option will be converted to abooleantype. Default: false Group: producer- Parameters:
analyzeConcepts- the value to set- Returns:
- the dsl builder
-
analyzeEmotion
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeEmotion(boolean analyzeEmotion) Enable emotion analysis. The option is a:booleantype. Default: false Group: producer- Parameters:
analyzeEmotion- the value to set- Returns:
- the dsl builder
-
analyzeEmotion
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeEmotion(String analyzeEmotion) Enable emotion analysis. The option will be converted to abooleantype. Default: false Group: producer- Parameters:
analyzeEmotion- the value to set- Returns:
- the dsl builder
-
analyzeEntities
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeEntities(boolean analyzeEntities) Enable entity extraction. The option is a:booleantype. Default: true Group: producer- Parameters:
analyzeEntities- the value to set- Returns:
- the dsl builder
-
analyzeEntities
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeEntities(String analyzeEntities) Enable entity extraction. The option will be converted to abooleantype. Default: true Group: producer- Parameters:
analyzeEntities- the value to set- Returns:
- the dsl builder
-
analyzeKeywords
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeKeywords(boolean analyzeKeywords) Enable keyword extraction. The option is a:booleantype. Default: true Group: producer- Parameters:
analyzeKeywords- the value to set- Returns:
- the dsl builder
-
analyzeKeywords
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeKeywords(String analyzeKeywords) Enable keyword extraction. The option will be converted to abooleantype. Default: true Group: producer- Parameters:
analyzeKeywords- the value to set- Returns:
- the dsl builder
-
analyzeSentiment
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeSentiment(boolean analyzeSentiment) Enable sentiment analysis. The option is a:booleantype. Default: true Group: producer- Parameters:
analyzeSentiment- the value to set- Returns:
- the dsl builder
-
analyzeSentiment
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder analyzeSentiment(String analyzeSentiment) Enable sentiment analysis. The option will be converted to abooleantype. Default: true Group: producer- Parameters:
analyzeSentiment- the value to set- Returns:
- the dsl builder
-
operation
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder operation(org.apache.camel.component.ibm.watson.language.WatsonLanguageOperations operation) The operation to perform. The option is a:org.apache.camel.component.ibm.watson.language.WatsonLanguageOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
operation
default WatsonLanguageEndpointBuilderFactory.WatsonLanguageEndpointBuilder operation(String operation) The operation to perform. The option will be converted to aorg.apache.camel.component.ibm.watson.language.WatsonLanguageOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
apiKey
The IBM Cloud API key for authentication. The option is a:java.lang.Stringtype. Required: true Group: security- Parameters:
apiKey- the value to set- Returns:
- the dsl builder
-