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