Class WatsonLanguageEndpointBuilderFactory.WatsonLanguageHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.WatsonLanguageEndpointBuilderFactory.WatsonLanguageHeaderNameBuilder
Enclosing interface:
WatsonLanguageEndpointBuilderFactory

public static class WatsonLanguageEndpointBuilderFactory.WatsonLanguageHeaderNameBuilder extends Object
The builder of headers' name for the IBM Watson Language component.
  • Constructor Details

    • WatsonLanguageHeaderNameBuilder

      public WatsonLanguageHeaderNameBuilder()
  • Method Details

    • iBMWatsonLanguageOperation

      public String iBMWatsonLanguageOperation()
      The operation to perform. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageOperation.
    • iBMWatsonLanguageText

      public String iBMWatsonLanguageText()
      The text to analyze. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageText.
    • iBMWatsonLanguageUrl

      public String iBMWatsonLanguageUrl()
      The URL to analyze. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageUrl.
    • iBMWatsonLanguageAnalyzeSentiment

      public String iBMWatsonLanguageAnalyzeSentiment()
      Enable sentiment analysis. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageAnalyzeSentiment.
    • iBMWatsonLanguageAnalyzeEmotion

      public String iBMWatsonLanguageAnalyzeEmotion()
      Enable emotion analysis. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageAnalyzeEmotion.
    • iBMWatsonLanguageAnalyzeEntities

      public String iBMWatsonLanguageAnalyzeEntities()
      Enable entity extraction. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageAnalyzeEntities.
    • iBMWatsonLanguageAnalyzeKeywords

      public String iBMWatsonLanguageAnalyzeKeywords()
      Enable keyword extraction. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageAnalyzeKeywords.
    • iBMWatsonLanguageAnalyzeConcepts

      public String iBMWatsonLanguageAnalyzeConcepts()
      Enable concept extraction. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageAnalyzeConcepts.
    • iBMWatsonLanguageAnalyzeCategories

      public String iBMWatsonLanguageAnalyzeCategories()
      Enable category classification. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageAnalyzeCategories.
    • iBMWatsonLanguageLanguage

      public String iBMWatsonLanguageLanguage()
      The language of the text. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageLanguage.
    • iBMWatsonLanguageSentimentScore

      public String iBMWatsonLanguageSentimentScore()
      The sentiment score. The option is a: Double type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageSentimentScore.
    • iBMWatsonLanguageSentimentLabel

      public String iBMWatsonLanguageSentimentLabel()
      The sentiment label (positive, negative, neutral). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonLanguageSentimentLabel.