Interface DdbEndpointBuilderFactory.DdbEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- DdbEndpointBuilderFactory
public static interface DdbEndpointBuilderFactory.DdbEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the AWS DynamoDB component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default DdbEndpointBuilderFactory.DdbEndpointBuilder
accessKey(String accessKey)
Amazon AWS Access Key.default DdbEndpointBuilderFactory.AdvancedDdbEndpointBuilder
advanced()
default DdbEndpointBuilderFactory.DdbEndpointBuilder
amazonDDBClient(Object amazonDDBClient)
To use the AmazonDynamoDB as the client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
amazonDDBClient(String amazonDDBClient)
To use the AmazonDynamoDB as the client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
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 DdbEndpointBuilderFactory.DdbEndpointBuilder
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 DdbEndpointBuilderFactory.DdbEndpointBuilder
consistentRead(boolean consistentRead)
Determines whether or not strong consistency should be enforced when data is read.default DdbEndpointBuilderFactory.DdbEndpointBuilder
consistentRead(String consistentRead)
Determines whether or not strong consistency should be enforced when data is read.default DdbEndpointBuilderFactory.DdbEndpointBuilder
keyAttributeName(String keyAttributeName)
Attribute name when creating table.default DdbEndpointBuilderFactory.DdbEndpointBuilder
keyAttributeType(String keyAttributeType)
Attribute type when creating table.default DdbEndpointBuilderFactory.DdbEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default DdbEndpointBuilderFactory.DdbEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default DdbEndpointBuilderFactory.DdbEndpointBuilder
operation(String operation)
What operation to perform.default DdbEndpointBuilderFactory.DdbEndpointBuilder
operation(DdbEndpointBuilderFactory.DdbOperations operation)
What operation to perform.default DdbEndpointBuilderFactory.DdbEndpointBuilder
proxyHost(String proxyHost)
To define a proxy host when instantiating the DDB client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
proxyPort(Integer proxyPort)
To define a proxy port when instantiating the DDB client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
proxyPort(String proxyPort)
To define a proxy port when instantiating the DDB client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
proxyProtocol(String proxyProtocol)
To define a proxy protocol when instantiating the DDB client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
proxyProtocol(DdbEndpointBuilderFactory.Protocol proxyProtocol)
To define a proxy protocol when instantiating the DDB client.default DdbEndpointBuilderFactory.DdbEndpointBuilder
readCapacity(Long readCapacity)
The provisioned throughput to reserve for reading resources from your table.default DdbEndpointBuilderFactory.DdbEndpointBuilder
readCapacity(String readCapacity)
The provisioned throughput to reserve for reading resources from your table.default DdbEndpointBuilderFactory.DdbEndpointBuilder
region(String region)
The region in which DDB client needs to work.default DdbEndpointBuilderFactory.DdbEndpointBuilder
secretKey(String secretKey)
Amazon AWS Secret Key.default DdbEndpointBuilderFactory.DdbEndpointBuilder
writeCapacity(Long writeCapacity)
The provisioned throughput to reserved for writing resources to your table.default DdbEndpointBuilderFactory.DdbEndpointBuilder
writeCapacity(String writeCapacity)
The provisioned throughput to reserved for writing resources to your table.
-
-
-
Method Detail
-
advanced
default DdbEndpointBuilderFactory.AdvancedDdbEndpointBuilder advanced()
-
amazonDDBClient
default DdbEndpointBuilderFactory.DdbEndpointBuilder amazonDDBClient(Object amazonDDBClient)
To use the AmazonDynamoDB as the client. The option is a:com.amazonaws.services.dynamodbv2.AmazonDynamoDB
type. Group: producer
-
amazonDDBClient
default DdbEndpointBuilderFactory.DdbEndpointBuilder amazonDDBClient(String amazonDDBClient)
To use the AmazonDynamoDB as the client. The option will be converted to acom.amazonaws.services.dynamodbv2.AmazonDynamoDB
type. Group: producer
-
autoDiscoverClient
default DdbEndpointBuilderFactory.DdbEndpointBuilder 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. The option is a:boolean
type. Default: true Group: common
-
autoDiscoverClient
default DdbEndpointBuilderFactory.DdbEndpointBuilder 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. The option will be converted to aboolean
type. Default: true Group: common
-
consistentRead
default DdbEndpointBuilderFactory.DdbEndpointBuilder consistentRead(boolean consistentRead)
Determines whether or not strong consistency should be enforced when data is read. The option is a:boolean
type. Default: false Group: producer
-
consistentRead
default DdbEndpointBuilderFactory.DdbEndpointBuilder consistentRead(String consistentRead)
Determines whether or not strong consistency should be enforced when data is read. The option will be converted to aboolean
type. Default: false Group: producer
-
keyAttributeName
default DdbEndpointBuilderFactory.DdbEndpointBuilder keyAttributeName(String keyAttributeName)
Attribute name when creating table. The option is a:java.lang.String
type. Group: producer
-
keyAttributeType
default DdbEndpointBuilderFactory.DdbEndpointBuilder keyAttributeType(String keyAttributeType)
Attribute type when creating table. The option is a:java.lang.String
type. Group: producer
-
lazyStartProducer
default DdbEndpointBuilderFactory.DdbEndpointBuilder 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:boolean
type. Default: false Group: producer
-
lazyStartProducer
default DdbEndpointBuilderFactory.DdbEndpointBuilder 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 aboolean
type. Default: false Group: producer
-
operation
default DdbEndpointBuilderFactory.DdbEndpointBuilder operation(DdbEndpointBuilderFactory.DdbOperations operation)
What operation to perform. The option is a:org.apache.camel.component.aws.ddb.DdbOperations
type. Default: PutItem Group: producer
-
operation
default DdbEndpointBuilderFactory.DdbEndpointBuilder operation(String operation)
What operation to perform. The option will be converted to aorg.apache.camel.component.aws.ddb.DdbOperations
type. Default: PutItem Group: producer
-
proxyHost
default DdbEndpointBuilderFactory.DdbEndpointBuilder proxyHost(String proxyHost)
To define a proxy host when instantiating the DDB client. The option is a:java.lang.String
type. Group: producer
-
proxyPort
default DdbEndpointBuilderFactory.DdbEndpointBuilder proxyPort(Integer proxyPort)
To define a proxy port when instantiating the DDB client. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name(). The option is a:java.lang.Integer
type. Group: producer
-
proxyPort
default DdbEndpointBuilderFactory.DdbEndpointBuilder proxyPort(String proxyPort)
To define a proxy port when instantiating the DDB client. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name(). The option will be converted to ajava.lang.Integer
type. Group: producer
-
proxyProtocol
default DdbEndpointBuilderFactory.DdbEndpointBuilder proxyProtocol(DdbEndpointBuilderFactory.Protocol proxyProtocol)
To define a proxy protocol when instantiating the DDB client. The option is a:com.amazonaws.Protocol
type. Default: HTTPS Group: producer
-
proxyProtocol
default DdbEndpointBuilderFactory.DdbEndpointBuilder proxyProtocol(String proxyProtocol)
To define a proxy protocol when instantiating the DDB client. The option will be converted to acom.amazonaws.Protocol
type. Default: HTTPS Group: producer
-
readCapacity
default DdbEndpointBuilderFactory.DdbEndpointBuilder readCapacity(Long readCapacity)
The provisioned throughput to reserve for reading resources from your table. The option is a:java.lang.Long
type. Group: producer
-
readCapacity
default DdbEndpointBuilderFactory.DdbEndpointBuilder readCapacity(String readCapacity)
The provisioned throughput to reserve for reading resources from your table. The option will be converted to ajava.lang.Long
type. Group: producer
-
region
default DdbEndpointBuilderFactory.DdbEndpointBuilder region(String region)
The region in which DDB client needs to work. The option is a:java.lang.String
type. Group: producer
-
writeCapacity
default DdbEndpointBuilderFactory.DdbEndpointBuilder writeCapacity(Long writeCapacity)
The provisioned throughput to reserved for writing resources to your table. The option is a:java.lang.Long
type. Group: producer
-
writeCapacity
default DdbEndpointBuilderFactory.DdbEndpointBuilder writeCapacity(String writeCapacity)
The provisioned throughput to reserved for writing resources to your table. The option will be converted to ajava.lang.Long
type. Group: producer
-
accessKey
default DdbEndpointBuilderFactory.DdbEndpointBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a:java.lang.String
type. Group: security
-
secretKey
default DdbEndpointBuilderFactory.DdbEndpointBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a:java.lang.String
type. Group: security
-
-