Class WatsonSpeechToTextEndpointBuilderFactory.WatsonSpeechToTextHeaderNameBuilder

java.lang.Object
org.apache.camel.builder.endpoint.dsl.WatsonSpeechToTextEndpointBuilderFactory.WatsonSpeechToTextHeaderNameBuilder
Enclosing interface:
WatsonSpeechToTextEndpointBuilderFactory

public static class WatsonSpeechToTextEndpointBuilderFactory.WatsonSpeechToTextHeaderNameBuilder extends Object
The builder of headers' name for the IBM Watson Speech to Text component.
  • Constructor Details

    • WatsonSpeechToTextHeaderNameBuilder

      public WatsonSpeechToTextHeaderNameBuilder()
  • Method Details

    • iBMWatsonSTTOperation

      public String iBMWatsonSTTOperation()
      The operation to perform. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTOperation.
    • iBMWatsonSTTAudioFile

      public String iBMWatsonSTTAudioFile()
      The audio file to transcribe. The option is a: java.io.File type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTAudioFile.
    • iBMWatsonSTTModel

      public String iBMWatsonSTTModel()
      The language model to use for recognition. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTModel.
    • iBMWatsonSTTContentType

      public String iBMWatsonSTTContentType()
      The audio format (e.g., audio/wav, audio/mp3, audio/flac). The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTContentType.
    • iBMWatsonSTTTimestamps

      public String iBMWatsonSTTTimestamps()
      Whether to include timestamps in the transcription. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTTimestamps.
    • iBMWatsonSTTWordConfidence

      public String iBMWatsonSTTWordConfidence()
      Whether to include word confidence scores. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTWordConfidence.
    • iBMWatsonSTTSpeakerLabels

      public String iBMWatsonSTTSpeakerLabels()
      Whether to identify different speakers. The option is a: Boolean type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTSpeakerLabels.
    • iBMWatsonSTTModelName

      public String iBMWatsonSTTModelName()
      The name of the model to retrieve. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTModelName.
    • iBMWatsonSTTLanguage

      public String iBMWatsonSTTLanguage()
      The language for filtering models. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTLanguage.
    • iBMWatsonSTTTranscript

      public String iBMWatsonSTTTranscript()
      The transcription result text. The option is a: String type. Group: producer
      Returns:
      the name of the header IBMWatsonSTTTranscript.