Interface AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointBuilder
- Enclosing interface:
AWS2S3VectorsEndpointBuilderFactory
public static interface AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the AWS S3 Vectors component.
-
Method Summary
Modifier and TypeMethodDescriptionAmazon AWS Access Key.advanced()backoffErrorThreshold(int backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.backoffErrorThreshold(String backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.backoffIdleThreshold(int backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.backoffIdleThreshold(String backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.backoffMultiplier(int backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row.backoffMultiplier(String backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row.consumerMetadataFilter(String consumerMetadataFilter) Optional metadata filter for the consumer to filter vectors during polling.consumerQueryVector(String consumerQueryVector) The query vector to use for the consumer to poll for similar vectors.The data type of the vector.delay(long delay) Milliseconds before the next poll for the consumer.Milliseconds before the next poll for the consumer.deleteAfterRead(boolean deleteAfterRead) Delete vectors after they have been consumed.deleteAfterRead(String deleteAfterRead) Delete vectors after they have been consumed.distanceMetric(String distanceMetric) The distance metric to use for similarity search.greedy(boolean greedy) If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.initialDelay(long initialDelay) Milliseconds before the first poll starts.initialDelay(String initialDelay) Milliseconds before the first poll starts.maxMessagesPerPoll(int maxMessagesPerPoll) The maximum number of messages to consume per poll for the consumer.maxMessagesPerPoll(String maxMessagesPerPoll) The maximum number of messages to consume per poll for the consumer.overrideEndpoint(boolean overrideEndpoint) Set the need for overriding the endpoint.overrideEndpoint(String overrideEndpoint) Set the need for overriding the endpoint.profileCredentialsName(String profileCredentialsName) If using a profile credentials provider, this parameter will set the profile name.To define a proxy host when instantiating the S3 Vectors client.To define a proxy port when instantiating the S3 Vectors client.To define a proxy port when instantiating the S3 Vectors client.proxyProtocol(String proxyProtocol) To define a proxy protocol when instantiating the S3 Vectors client.proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol) To define a proxy protocol when instantiating the S3 Vectors client.The region in which S3 Vectors client needs to work.repeatCount(long repeatCount) Specifies a maximum limit of number of fires.repeatCount(String repeatCount) Specifies a maximum limit of number of fires.runLoggingLevel(String runLoggingLevel) The consumer logs a start/complete log line when it polls.runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel) The consumer logs a start/complete log line when it polls.scheduledExecutorService(String scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer.To use a cron scheduler from either camel-spring or camel-quartz component.To use a cron scheduler from either camel-spring or camel-quartz component.schedulerProperties(String key, Object value) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.schedulerProperties(Map values) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.Amazon AWS Secret Key.sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.sessionToken(String sessionToken) Amazon AWS Session Token used when the user needs to assume an IAM role.similarityThreshold(Float similarityThreshold) The minimum similarity threshold for results.similarityThreshold(String similarityThreshold) The minimum similarity threshold for results.startScheduler(boolean startScheduler) Whether the scheduler should be auto started.startScheduler(String startScheduler) Whether the scheduler should be auto started.Time unit for initialDelay and delay options.Time unit for initialDelay and delay options.The number of top similar vectors to return in a query.The number of top similar vectors to return in a query.trustAllCertificates(boolean trustAllCertificates) If we want to trust all certificates in case of overriding the endpoint.trustAllCertificates(String trustAllCertificates) If we want to trust all certificates in case of overriding the endpoint.uriEndpointOverride(String uriEndpointOverride) Set the overriding uri endpoint.useDefaultCredentialsProvider(boolean useDefaultCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a default credentials provider.useDefaultCredentialsProvider(String useDefaultCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a default credentials provider.useFixedDelay(boolean useFixedDelay) Controls if fixed delay or fixed rate is used.useFixedDelay(String useFixedDelay) Controls if fixed delay or fixed rate is used.useProfileCredentialsProvider(boolean useProfileCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a profile credentials provider.useProfileCredentialsProvider(String useProfileCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a profile credentials provider.useSessionCredentials(boolean useSessionCredentials) Set whether the S3 Vectors client should expect to use Session Credentials.useSessionCredentials(String useSessionCredentials) Set whether the S3 Vectors client should expect to use Session Credentials.vectorDimensions(Integer vectorDimensions) The dimensions of the vector embeddings (default: 1536, which is the dimension for OpenAI text-embedding-3-small).vectorDimensions(String vectorDimensions) The dimensions of the vector embeddings (default: 1536, which is the dimension for OpenAI text-embedding-3-small).vectorIndexName(String vectorIndexName) The name of the vector index.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
-
Method Details
-
advanced
-
dataType
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder dataType(String dataType) The data type of the vector. Options: float32, float16. The option is a:java.lang.Stringtype. Default: float32 Group: common- Parameters:
dataType- the value to set- Returns:
- the dsl builder
-
distanceMetric
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder distanceMetric(String distanceMetric) The distance metric to use for similarity search. Options: cosine, euclidean, dot-product. The option is a:java.lang.Stringtype. Default: cosine Group: common- Parameters:
distanceMetric- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder overrideEndpoint(boolean overrideEndpoint) Set the need for overriding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option is a:booleantype. Default: false Group: common- Parameters:
overrideEndpoint- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder overrideEndpoint(String overrideEndpoint) Set the need for overriding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option will be converted to abooleantype. Default: false Group: common- Parameters:
overrideEndpoint- the value to set- Returns:
- the dsl builder
-
region
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder region(String region) The region in which S3 Vectors client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). The option is a:java.lang.Stringtype. Group: common- Parameters:
region- the value to set- Returns:
- the dsl builder
-
similarityThreshold
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder similarityThreshold(Float similarityThreshold) The minimum similarity threshold for results. The option is a:java.lang.Floattype. Group: common- Parameters:
similarityThreshold- the value to set- Returns:
- the dsl builder
-
similarityThreshold
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder similarityThreshold(String similarityThreshold) The minimum similarity threshold for results. The option will be converted to ajava.lang.Floattype. Group: common- Parameters:
similarityThreshold- the value to set- Returns:
- the dsl builder
-
topK
The number of top similar vectors to return in a query. The option is a:java.lang.Integertype. Default: 10 Group: common- Parameters:
topK- the value to set- Returns:
- the dsl builder
-
topK
The number of top similar vectors to return in a query. The option will be converted to ajava.lang.Integertype. Default: 10 Group: common- Parameters:
topK- the value to set- Returns:
- the dsl builder
-
uriEndpointOverride
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder uriEndpointOverride(String uriEndpointOverride) Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option. The option is a:java.lang.Stringtype. Group: common- Parameters:
uriEndpointOverride- the value to set- Returns:
- the dsl builder
-
vectorDimensions
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder vectorDimensions(Integer vectorDimensions) The dimensions of the vector embeddings (default: 1536, which is the dimension for OpenAI text-embedding-3-small). The option is a:java.lang.Integertype. Default: 1536 Group: common- Parameters:
vectorDimensions- the value to set- Returns:
- the dsl builder
-
vectorDimensions
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder vectorDimensions(String vectorDimensions) The dimensions of the vector embeddings (default: 1536, which is the dimension for OpenAI text-embedding-3-small). The option will be converted to ajava.lang.Integertype. Default: 1536 Group: common- Parameters:
vectorDimensions- the value to set- Returns:
- the dsl builder
-
vectorIndexName
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder vectorIndexName(String vectorIndexName) The name of the vector index. The option is a:java.lang.Stringtype. Group: common- Parameters:
vectorIndexName- the value to set- Returns:
- the dsl builder
-
consumerMetadataFilter
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder consumerMetadataFilter(String consumerMetadataFilter) Optional metadata filter for the consumer to filter vectors during polling. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
consumerMetadataFilter- the value to set- Returns:
- the dsl builder
-
consumerQueryVector
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder consumerQueryVector(String consumerQueryVector) The query vector to use for the consumer to poll for similar vectors. Specified as comma-separated float values (e.g., 0.1,0.2,0.3). If not specified, the consumer will not poll. The option is a:java.lang.Stringtype. Group: consumer- Parameters:
consumerQueryVector- the value to set- Returns:
- the dsl builder
-
delay
Milliseconds before the next poll for the consumer. The option is a:longtype. Default: 500 Group: consumer- Parameters:
delay- the value to set- Returns:
- the dsl builder
-
delay
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder delay(String delay) Milliseconds before the next poll for the consumer. The option will be converted to alongtype. Default: 500 Group: consumer- Parameters:
delay- the value to set- Returns:
- the dsl builder
-
deleteAfterRead
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder deleteAfterRead(boolean deleteAfterRead) Delete vectors after they have been consumed. The option is a:booleantype. Default: false Group: consumer- Parameters:
deleteAfterRead- the value to set- Returns:
- the dsl builder
-
deleteAfterRead
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder deleteAfterRead(String deleteAfterRead) Delete vectors after they have been consumed. The option will be converted to abooleantype. Default: false Group: consumer- Parameters:
deleteAfterRead- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder maxMessagesPerPoll(int maxMessagesPerPoll) The maximum number of messages to consume per poll for the consumer. The option is a:inttype. Default: 10 Group: consumer- Parameters:
maxMessagesPerPoll- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll) The maximum number of messages to consume per poll for the consumer. The option will be converted to ainttype. Default: 10 Group: consumer- Parameters:
maxMessagesPerPoll- the value to set- Returns:
- the dsl builder
-
sendEmptyMessageWhenIdle
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. The option is a:booleantype. Default: false Group: consumer- Parameters:
sendEmptyMessageWhenIdle- the value to set- Returns:
- the dsl builder
-
sendEmptyMessageWhenIdle
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle) If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. The option will be converted to abooleantype. Default: false Group: consumer- Parameters:
sendEmptyMessageWhenIdle- the value to set- Returns:
- the dsl builder
-
proxyHost
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder proxyHost(String proxyHost) To define a proxy host when instantiating the S3 Vectors client. The option is a:java.lang.Stringtype. Group: proxy- Parameters:
proxyHost- the value to set- Returns:
- the dsl builder
-
proxyPort
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder proxyPort(Integer proxyPort) To define a proxy port when instantiating the S3 Vectors client. The option is a:java.lang.Integertype. Group: proxy- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
proxyPort
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder proxyPort(String proxyPort) To define a proxy port when instantiating the S3 Vectors client. The option will be converted to ajava.lang.Integertype. Group: proxy- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol) To define a proxy protocol when instantiating the S3 Vectors client. The option is a:software.amazon.awssdk.core.Protocoltype. Default: HTTPS Group: proxy- Parameters:
proxyProtocol- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder proxyProtocol(String proxyProtocol) To define a proxy protocol when instantiating the S3 Vectors client. The option will be converted to asoftware.amazon.awssdk.core.Protocoltype. Default: HTTPS Group: proxy- Parameters:
proxyProtocol- the value to set- Returns:
- the dsl builder
-
backoffErrorThreshold
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in. The option is a:inttype. Group: scheduler- Parameters:
backoffErrorThreshold- the value to set- Returns:
- the dsl builder
-
backoffErrorThreshold
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold) The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in. The option will be converted to ainttype. Group: scheduler- Parameters:
backoffErrorThreshold- the value to set- Returns:
- the dsl builder
-
backoffIdleThreshold
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. The option is a:inttype. Group: scheduler- Parameters:
backoffIdleThreshold- the value to set- Returns:
- the dsl builder
-
backoffIdleThreshold
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold) The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. The option will be converted to ainttype. Group: scheduler- Parameters:
backoffIdleThreshold- the value to set- Returns:
- the dsl builder
-
backoffMultiplier
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. The option is a:inttype. Group: scheduler- Parameters:
backoffMultiplier- the value to set- Returns:
- the dsl builder
-
backoffMultiplier
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier) To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. The option will be converted to ainttype. Group: scheduler- Parameters:
backoffMultiplier- the value to set- Returns:
- the dsl builder
-
greedy
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder greedy(boolean greedy) If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. The option is a:booleantype. Default: false Group: scheduler- Parameters:
greedy- the value to set- Returns:
- the dsl builder
-
greedy
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder greedy(String greedy) If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. The option will be converted to abooleantype. Default: false Group: scheduler- Parameters:
greedy- the value to set- Returns:
- the dsl builder
-
initialDelay
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder initialDelay(long initialDelay) Milliseconds before the first poll starts. The option is a:longtype. Default: 1000 Group: scheduler- Parameters:
initialDelay- the value to set- Returns:
- the dsl builder
-
initialDelay
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder initialDelay(String initialDelay) Milliseconds before the first poll starts. The option will be converted to alongtype. Default: 1000 Group: scheduler- Parameters:
initialDelay- the value to set- Returns:
- the dsl builder
-
repeatCount
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder repeatCount(long repeatCount) Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option is a:longtype. Default: 0 Group: scheduler- Parameters:
repeatCount- the value to set- Returns:
- the dsl builder
-
repeatCount
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder repeatCount(String repeatCount) Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option will be converted to alongtype. Default: 0 Group: scheduler- Parameters:
repeatCount- the value to set- Returns:
- the dsl builder
-
runLoggingLevel
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel) The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option is a:org.apache.camel.LoggingLeveltype. Default: TRACE Group: scheduler- Parameters:
runLoggingLevel- the value to set- Returns:
- the dsl builder
-
runLoggingLevel
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel) The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option will be converted to aorg.apache.camel.LoggingLeveltype. Default: TRACE Group: scheduler- Parameters:
runLoggingLevel- the value to set- Returns:
- the dsl builder
-
scheduledExecutorService
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. The option is a:java.util.concurrent.ScheduledExecutorServicetype. Group: scheduler- Parameters:
scheduledExecutorService- the value to set- Returns:
- the dsl builder
-
scheduledExecutorService
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService) Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. The option will be converted to ajava.util.concurrent.ScheduledExecutorServicetype. Group: scheduler- Parameters:
scheduledExecutorService- the value to set- Returns:
- the dsl builder
-
scheduler
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder scheduler(Object scheduler) To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler. The option is a:java.lang.Objecttype. Default: none Group: scheduler- Parameters:
scheduler- the value to set- Returns:
- the dsl builder
-
scheduler
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder scheduler(String scheduler) To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler. The option will be converted to ajava.lang.Objecttype. Default: none Group: scheduler- Parameters:
scheduler- the value to set- Returns:
- the dsl builder
-
schedulerProperties
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder schedulerProperties(String key, Object value) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler. This is a multi-value option with prefix: scheduler. The option is a:java.util.Map<java.lang.String, java.lang.Object>type. The option is multivalued, and you can use the schedulerProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: scheduler- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
schedulerProperties
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder schedulerProperties(Map values) To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler. This is a multi-value option with prefix: scheduler. The option is a:java.util.Map<java.lang.String, java.lang.Object>type. The option is multivalued, and you can use the schedulerProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: scheduler- Parameters:
values- the values- Returns:
- the dsl builder
-
startScheduler
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder startScheduler(boolean startScheduler) Whether the scheduler should be auto started. The option is a:booleantype. Default: true Group: scheduler- Parameters:
startScheduler- the value to set- Returns:
- the dsl builder
-
startScheduler
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder startScheduler(String startScheduler) Whether the scheduler should be auto started. The option will be converted to abooleantype. Default: true Group: scheduler- Parameters:
startScheduler- the value to set- Returns:
- the dsl builder
-
timeUnit
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder timeUnit(TimeUnit timeUnit) Time unit for initialDelay and delay options. The option is a:java.util.concurrent.TimeUnittype. Default: MILLISECONDS Group: scheduler- Parameters:
timeUnit- the value to set- Returns:
- the dsl builder
-
timeUnit
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder timeUnit(String timeUnit) Time unit for initialDelay and delay options. The option will be converted to ajava.util.concurrent.TimeUnittype. Default: MILLISECONDS Group: scheduler- Parameters:
timeUnit- the value to set- Returns:
- the dsl builder
-
useFixedDelay
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay) Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. The option is a:booleantype. Default: true Group: scheduler- Parameters:
useFixedDelay- the value to set- Returns:
- the dsl builder
-
useFixedDelay
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useFixedDelay(String useFixedDelay) Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. The option will be converted to abooleantype. Default: true Group: scheduler- Parameters:
useFixedDelay- the value to set- Returns:
- the dsl builder
-
accessKey
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder accessKey(String accessKey) Amazon AWS Access Key. The option is a:java.lang.Stringtype. Group: security- Parameters:
accessKey- the value to set- Returns:
- the dsl builder
-
profileCredentialsName
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder profileCredentialsName(String profileCredentialsName) If using a profile credentials provider, this parameter will set the profile name. The option is a:java.lang.Stringtype. Group: security- Parameters:
profileCredentialsName- the value to set- Returns:
- the dsl builder
-
secretKey
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder secretKey(String secretKey) Amazon AWS Secret Key. The option is a:java.lang.Stringtype. Group: security- Parameters:
secretKey- the value to set- Returns:
- the dsl builder
-
sessionToken
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder sessionToken(String sessionToken) Amazon AWS Session Token used when the user needs to assume an IAM role. The option is a:java.lang.Stringtype. Group: security- Parameters:
sessionToken- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder trustAllCertificates(boolean trustAllCertificates) If we want to trust all certificates in case of overriding the endpoint. The option is a:booleantype. Default: false Group: security- Parameters:
trustAllCertificates- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder trustAllCertificates(String trustAllCertificates) If we want to trust all certificates in case of overriding the endpoint. The option will be converted to abooleantype. Default: false Group: security- Parameters:
trustAllCertificates- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useDefaultCredentialsProvider(boolean useDefaultCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a default credentials provider. The option is a:booleantype. Default: false Group: security- Parameters:
useDefaultCredentialsProvider- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useDefaultCredentialsProvider(String useDefaultCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a default credentials provider. The option will be converted to abooleantype. Default: false Group: security- Parameters:
useDefaultCredentialsProvider- the value to set- Returns:
- the dsl builder
-
useProfileCredentialsProvider
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useProfileCredentialsProvider(boolean useProfileCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a profile credentials provider. The option is a:booleantype. Default: false Group: security- Parameters:
useProfileCredentialsProvider- the value to set- Returns:
- the dsl builder
-
useProfileCredentialsProvider
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useProfileCredentialsProvider(String useProfileCredentialsProvider) Set whether the S3 Vectors client should expect to load credentials through a profile credentials provider. The option will be converted to abooleantype. Default: false Group: security- Parameters:
useProfileCredentialsProvider- the value to set- Returns:
- the dsl builder
-
useSessionCredentials
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useSessionCredentials(boolean useSessionCredentials) Set whether the S3 Vectors client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in S3 Vectors. The option is a:booleantype. Default: false Group: security- Parameters:
useSessionCredentials- the value to set- Returns:
- the dsl builder
-
useSessionCredentials
default AWS2S3VectorsEndpointBuilderFactory.AWS2S3VectorsEndpointConsumerBuilder useSessionCredentials(String useSessionCredentials) Set whether the S3 Vectors client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume an IAM role for doing operations in S3 Vectors. The option will be converted to abooleantype. Default: false Group: security- Parameters:
useSessionCredentials- the value to set- Returns:
- the dsl builder
-