public static interface Translate2EndpointBuilderFactory.Translate2EndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
accessKey(String accessKey)
Amazon AWS Access Key.
|
default Translate2EndpointBuilderFactory.AdvancedTranslate2EndpointBuilder |
advanced() |
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
autodetectSourceLanguage(boolean autodetectSourceLanguage)
Being able to autodetect the source language.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
autodetectSourceLanguage(String autodetectSourceLanguage)
Being able to autodetect the source language.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
autoDiscoverClient(boolean autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will
look for a client instance in the registry automatically otherwise it
will skip that checking.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
autoDiscoverClient(String autoDiscoverClient)
Setting the autoDiscoverClient mechanism, if true, the component will
look for a client instance in the registry automatically otherwise it
will skip that checking.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
operation(String operation)
The operation to perform.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
operation(Translate2EndpointBuilderFactory.Translate2Operations operation)
The operation to perform.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
pojoRequest(String pojoRequest)
If we want to use a POJO request as body or not.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
proxyHost(String proxyHost)
To define a proxy host when instantiating the Translate client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
proxyPort(Integer proxyPort)
To define a proxy port when instantiating the Translate client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
proxyPort(String proxyPort)
To define a proxy port when instantiating the Translate client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
proxyProtocol(String proxyProtocol)
To define a proxy protocol when instantiating the Translate client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
proxyProtocol(Translate2EndpointBuilderFactory.Protocol proxyProtocol)
To define a proxy protocol when instantiating the Translate client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
region(String region)
The region in which Translate client needs to work.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
secretKey(String secretKey)
Amazon AWS Secret Key.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
sourceLanguage(String sourceLanguage)
Source language to use.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
targetLanguage(String targetLanguage)
Target language to use.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
translateClient(Object translateClient)
To use a existing configured AWS Translate as client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
translateClient(String translateClient)
To use a existing configured AWS Translate as client.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
trustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the
endpoint.
|
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder |
trustAllCertificates(String trustAllCertificates)
If we want to trust all certificates in case of overriding the
endpoint.
|
default Translate2EndpointBuilderFactory.AdvancedTranslate2EndpointBuilder advanced()
default Translate2EndpointBuilderFactory.Translate2EndpointBuilder autodetectSourceLanguage(boolean autodetectSourceLanguage)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder autodetectSourceLanguage(String autodetectSourceLanguage)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder autoDiscoverClient(boolean autoDiscoverClient)
boolean type.
Default: true
Group: commondefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder autoDiscoverClient(String autoDiscoverClient)
boolean type.
Default: true
Group: commondefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder operation(Translate2EndpointBuilderFactory.Translate2Operations operation)
org.apache.camel.component.aws2.translate.Translate2Operations type.
Required: true
Default: translateText
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder operation(String operation)
org.apache.camel.component.aws2.translate.Translate2Operations type.
Required: true
Default: translateText
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder pojoRequest(boolean pojoRequest)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder pojoRequest(String pojoRequest)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder proxyHost(String proxyHost)
java.lang.String type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder proxyPort(Integer proxyPort)
java.lang.Integer type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder proxyPort(String proxyPort)
java.lang.Integer
type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder proxyProtocol(Translate2EndpointBuilderFactory.Protocol proxyProtocol)
software.amazon.awssdk.core.Protocol
type.
Default: HTTPS
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder proxyProtocol(String proxyProtocol)
software.amazon.awssdk.core.Protocol type.
Default: HTTPS
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder region(String region)
java.lang.String type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder sourceLanguage(String sourceLanguage)
java.lang.String type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder targetLanguage(String targetLanguage)
java.lang.String type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder translateClient(Object translateClient)
software.amazon.awssdk.services.translate.TranslateClient type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder translateClient(String translateClient)
software.amazon.awssdk.services.translate.TranslateClient type.
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder trustAllCertificates(boolean trustAllCertificates)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder trustAllCertificates(String trustAllCertificates)
boolean type.
Default: false
Group: producerdefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder accessKey(String accessKey)
java.lang.String type.
Group: securitydefault Translate2EndpointBuilderFactory.Translate2EndpointBuilder secretKey(String secretKey)
java.lang.String type.
Group: securityApache Camel