Interface Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- Athena2EndpointBuilderFactory
public static interface Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Advanced builder for endpoint for the AWS Athena component.
-
Method Summary
Modifier and TypeMethodDescriptionamazonAthenaClient(String amazonAthenaClient) The AmazonAthena instance to use as the client.amazonAthenaClient(software.amazon.awssdk.services.athena.AthenaClient amazonAthenaClient) The AmazonAthena instance to use as the client.basic()clientRequestToken(String clientRequestToken) A unique string to ensure issues queries are idempotent.includeTrace(boolean includeTrace) Include useful trace information at the beginning of queries as an SQL comment (prefixed with --).includeTrace(String includeTrace) Include useful trace information at the beginning of queries as an SQL comment (prefixed with --).lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message).lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message).Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
basic
-
lazyStartProducer
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder lazyStartProducer(boolean lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a: <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
lazyStartProducer
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder lazyStartProducer(String lazyStartProducer) Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to a <code>boolean</code> type. Default: false Group: producer (advanced)- Parameters:
lazyStartProducer- the value to set- Returns:
- the dsl builder
-
amazonAthenaClient
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder amazonAthenaClient(software.amazon.awssdk.services.athena.AthenaClient amazonAthenaClient) The AmazonAthena instance to use as the client. The option is a: <code>software.amazon.awssdk.services.athena.AthenaClient</code> type. Group: advanced- Parameters:
amazonAthenaClient- the value to set- Returns:
- the dsl builder
-
amazonAthenaClient
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder amazonAthenaClient(String amazonAthenaClient) The AmazonAthena instance to use as the client. The option will be converted to a <code>software.amazon.awssdk.services.athena.AthenaClient</code> type. Group: advanced- Parameters:
amazonAthenaClient- the value to set- Returns:
- the dsl builder
-
clientRequestToken
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder clientRequestToken(String clientRequestToken) A unique string to ensure issues queries are idempotent. It is unlikely you will need to set this. The option is a: <code>java.lang.String</code> type. Group: advanced- Parameters:
clientRequestToken- the value to set- Returns:
- the dsl builder
-
includeTrace
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder includeTrace(boolean includeTrace) Include useful trace information at the beginning of queries as an SQL comment (prefixed with --). The option is a: <code>boolean</code> type. Default: false Group: advanced- Parameters:
includeTrace- the value to set- Returns:
- the dsl builder
-
includeTrace
default Athena2EndpointBuilderFactory.AdvancedAthena2EndpointBuilder includeTrace(String includeTrace) Include useful trace information at the beginning of queries as an SQL comment (prefixed with --). The option will be converted to a <code>boolean</code> type. Default: false Group: advanced- Parameters:
includeTrace- the value to set- Returns:
- the dsl builder
-