Interface WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
WatsonTextToSpeechEndpointBuilderFactory
public static interface WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the IBM Watson Text to Speech component.
-
Method Summary
Modifier and TypeMethodDescriptionThe audio format for synthesized speech.advanced()The IBM Cloud API key for authentication.customizationId(String customizationId) The customization ID (GUID) of a custom voice model to use for synthesis.The operation to perform.operation(org.apache.camel.component.ibm.watson.tts.WatsonTextToSpeechOperations operation) The operation to perform.serviceUrl(String serviceUrl) The service endpoint URL.The voice to use for synthesis.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 WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder 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
-
accept
default WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder accept(String accept) The audio format for synthesized speech. Default is audio/wav. Supported formats: audio/wav, audio/mp3, audio/ogg, audio/flac, audio/webm. The option is a:java.lang.Stringtype. Default: audio/wav Group: producer- Parameters:
accept- the value to set- Returns:
- the dsl builder
-
customizationId
default WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder customizationId(String customizationId) The customization ID (GUID) of a custom voice model to use for synthesis. The option is a:java.lang.Stringtype. Group: producer- Parameters:
customizationId- the value to set- Returns:
- the dsl builder
-
operation
default WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder operation(org.apache.camel.component.ibm.watson.tts.WatsonTextToSpeechOperations operation) The operation to perform. The option is a:org.apache.camel.component.ibm.watson.tts.WatsonTextToSpeechOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
operation
default WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder operation(String operation) The operation to perform. The option will be converted to aorg.apache.camel.component.ibm.watson.tts.WatsonTextToSpeechOperationstype. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
voice
default WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder voice(String voice) The voice to use for synthesis. Default is en-US_MichaelV3Voice. Examples: en-US_AllisonV3Voice, en-GB_KateV3Voice, es-ES_EnriqueV3Voice, fr-FR_NicolasV3Voice. The option is a:java.lang.Stringtype. Default: en-US_MichaelV3Voice Group: producer- Parameters:
voice- the value to set- Returns:
- the dsl builder
-
apiKey
default WatsonTextToSpeechEndpointBuilderFactory.WatsonTextToSpeechEndpointBuilder apiKey(String 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
-