public static interface Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder extends ComponentBuilder<org.apache.camel.component.aws2.athena.Athena2Component>
Modifier and Type | Method and Description |
---|---|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
accessKey(String accessKey)
Amazon AWS Access Key.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
amazonAthenaClient(software.amazon.awssdk.services.athena.AthenaClient amazonAthenaClient)
The AmazonAthena instance to use as the client.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
clientRequestToken(String clientRequestToken)
A unique string to ensure issues queries are idempotent.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
configuration(org.apache.camel.component.aws2.athena.Athena2Configuration configuration)
The component configuration.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
database(String database)
The Athena database to use.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
delay(long delay)
Milliseconds before the next poll for query execution status.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
encryptionOption(software.amazon.awssdk.services.athena.model.EncryptionOption encryptionOption)
The encryption type to use when storing query results in S3.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
includeTrace(boolean includeTrace)
Include useful trace information at the beginning of queries as an
SQL comment (prefixed with --).
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll for query execution status.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
kmsKey(String kmsKey)
For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
maxAttempts(int maxAttempts)
Maximum number of times to attempt a query.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
maxResults(Integer maxResults)
Max number of results to return for the given operation (if supported
by the Athena API endpoint).
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
nextToken(String nextToken)
Pagination token to use in the case where the response from the
previous request was truncated.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
operation(org.apache.camel.component.aws2.athena.Athena2Operations operation)
The Athena API function to call.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
outputLocation(String outputLocation)
The location in Amazon S3 where query results are stored, such as
s3://path/to/query/bucket/.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
outputType(org.apache.camel.component.aws2.athena.Athena2OutputType outputType)
How query results should be returned.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
proxyHost(String proxyHost)
To define a proxy host when instantiating the Athena client.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
proxyPort(Integer proxyPort)
To define a proxy port when instantiating the Athena client.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the Athena client.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
queryExecutionId(String queryExecutionId)
The unique ID identifying the query execution.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
queryString(String queryString)
The SQL query to run.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
region(String region)
The region in which Athena client needs to work.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
resetWaitTimeoutOnRetry(boolean resetWaitTimeoutOnRetry)
Reset the waitTimeout countdown in the event of a query retry.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
retry(String retry)
Optional comma separated list of error types to retry the query for.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
secretKey(String secretKey)
Amazon AWS Secret Key.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
waitTimeout(long waitTimeout)
Optional max wait time in millis to wait for a successful query
completion.
|
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder |
workGroup(String workGroup)
The workgroup to use for running the query.
|
build, build, doSetProperty, register
default Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder accessKey(String accessKey)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder amazonAthenaClient(software.amazon.awssdk.services.athena.AthenaClient amazonAthenaClient)
software.amazon.awssdk.services.athena.AthenaClient
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder configuration(org.apache.camel.component.aws2.athena.Athena2Configuration configuration)
org.apache.camel.component.aws2.athena.Athena2Configuration
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder database(String database)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder delay(long delay)
long
type.
Default: 2000
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder encryptionOption(software.amazon.awssdk.services.athena.model.EncryptionOption encryptionOption)
software.amazon.awssdk.services.athena.model.EncryptionOption
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder includeTrace(boolean includeTrace)
boolean
type.
Default: false
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder initialDelay(long initialDelay)
long
type.
Default: 1000
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder kmsKey(String kmsKey)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean
type.
Default: false
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder maxAttempts(int maxAttempts)
int
type.
Default: 1
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder maxResults(Integer maxResults)
java.lang.Integer
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder nextToken(String nextToken)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder operation(org.apache.camel.component.aws2.athena.Athena2Operations operation)
org.apache.camel.component.aws2.athena.Athena2Operations
type.
Default: startQueryExecution
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder outputLocation(String outputLocation)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder outputType(org.apache.camel.component.aws2.athena.Athena2OutputType outputType)
org.apache.camel.component.aws2.athena.Athena2OutputType
type.
Default: StreamList
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder proxyHost(String proxyHost)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder proxyPort(Integer proxyPort)
java.lang.Integer
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
software.amazon.awssdk.core.Protocol
type.
Default: HTTPS
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder queryExecutionId(String queryExecutionId)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder queryString(String queryString)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder region(String region)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder resetWaitTimeoutOnRetry(boolean resetWaitTimeoutOnRetry)
boolean
type.
Default: true
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder retry(String retry)
java.lang.String
type.
Default: never
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder secretKey(String secretKey)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder waitTimeout(long waitTimeout)
long
type.
Default: 0
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder workGroup(String workGroup)
java.lang.String
type.
Group: producerdefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean
type.
Default: false
Group: advanceddefault Aws2AthenaComponentBuilderFactory.Aws2AthenaComponentBuilder clientRequestToken(String clientRequestToken)
java.lang.String
type.
Group: advancedApache Camel