public static interface Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder extends ComponentBuilder<org.apache.camel.component.aws2.translate.Translate2Component>
Modifier and Type | Method and Description |
---|---|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
accessKey(String accessKey)
Amazon AWS Access Key.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
autodetectSourceLanguage(boolean autodetectSourceLanguage)
Being able to autodetect the source language.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
configuration(org.apache.camel.component.aws2.translate.Translate2Configuration configuration)
Component configuration.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
operation(org.apache.camel.component.aws2.translate.Translate2Operations operation)
The operation to perform.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
proxyHost(String proxyHost)
To define a proxy host when instantiating the Translate client.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
proxyPort(Integer proxyPort)
To define a proxy port when instantiating the Translate client.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the Translate client.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
region(String region)
The region in which Translate client needs to work.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
secretKey(String secretKey)
Amazon AWS Secret Key.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
sourceLanguage(String sourceLanguage)
Source language to use.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
targetLanguage(String targetLanguage)
Target language to use.
|
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder |
translateClient(software.amazon.awssdk.services.translate.TranslateClient translateClient)
To use a existing configured AWS Translate as client.
|
build, build, doSetProperty, register
default Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder autodetectSourceLanguage(boolean autodetectSourceLanguage)
boolean
type.
Default: false
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder configuration(org.apache.camel.component.aws2.translate.Translate2Configuration configuration)
org.apache.camel.component.aws2.translate.Translate2Configuration
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean
type.
Default: false
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder operation(org.apache.camel.component.aws2.translate.Translate2Operations operation)
org.apache.camel.component.aws2.translate.Translate2Operations
type.
Default: translateText
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder pojoRequest(boolean pojoRequest)
boolean
type.
Default: false
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder proxyHost(String proxyHost)
java.lang.String
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder proxyPort(Integer proxyPort)
java.lang.Integer
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
software.amazon.awssdk.core.Protocol
type.
Default: HTTPS
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder region(String region)
java.lang.String
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder sourceLanguage(String sourceLanguage)
java.lang.String
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder targetLanguage(String targetLanguage)
java.lang.String
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder translateClient(software.amazon.awssdk.services.translate.TranslateClient translateClient)
software.amazon.awssdk.services.translate.TranslateClient
type.
Group: producerdefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean
type.
Default: false
Group: advanceddefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder accessKey(String accessKey)
java.lang.String
type.
Group: securitydefault Aws2TranslateComponentBuilderFactory.Aws2TranslateComponentBuilder secretKey(String secretKey)
java.lang.String
type.
Group: securityApache Camel