Class WatsonLanguageConfiguration

java.lang.Object
org.apache.camel.component.ibm.watson.language.WatsonLanguageConfiguration
All Implemented Interfaces:
Cloneable

@UriParams public class WatsonLanguageConfiguration extends Object implements Cloneable
  • Constructor Details

    • WatsonLanguageConfiguration

      public WatsonLanguageConfiguration()
  • Method Details

    • getApiKey

      public String getApiKey()
    • setApiKey

      public void setApiKey(String apiKey)
      The IBM Cloud API key for authentication
    • getServiceUrl

      public String getServiceUrl()
    • setServiceUrl

      public void setServiceUrl(String serviceUrl)
      The service endpoint URL. If not specified, the default URL will be used.
    • getOperation

      public WatsonLanguageOperations getOperation()
    • setOperation

      public void setOperation(WatsonLanguageOperations operation)
      The operation to perform
    • isAnalyzeSentiment

      public boolean isAnalyzeSentiment()
    • setAnalyzeSentiment

      public void setAnalyzeSentiment(boolean analyzeSentiment)
      Enable sentiment analysis
    • isAnalyzeEmotion

      public boolean isAnalyzeEmotion()
    • setAnalyzeEmotion

      public void setAnalyzeEmotion(boolean analyzeEmotion)
      Enable emotion analysis
    • isAnalyzeEntities

      public boolean isAnalyzeEntities()
    • setAnalyzeEntities

      public void setAnalyzeEntities(boolean analyzeEntities)
      Enable entity extraction
    • isAnalyzeKeywords

      public boolean isAnalyzeKeywords()
    • setAnalyzeKeywords

      public void setAnalyzeKeywords(boolean analyzeKeywords)
      Enable keyword extraction
    • isAnalyzeConcepts

      public boolean isAnalyzeConcepts()
    • setAnalyzeConcepts

      public void setAnalyzeConcepts(boolean analyzeConcepts)
      Enable concept extraction
    • isAnalyzeCategories

      public boolean isAnalyzeCategories()
    • setAnalyzeCategories

      public void setAnalyzeCategories(boolean analyzeCategories)
      Enable category classification
    • copy