Class Ddb2Configuration
java.lang.Object
org.apache.camel.component.aws2.ddb.Ddb2Configuration
- All Implemented Interfaces:
Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()software.amazon.awssdk.services.dynamodb.DynamoDbClientsoftware.amazon.awssdk.core.ProtocolbooleanbooleanbooleanbooleanvoidsetAccessKey(String accessKey) Amazon AWS Access KeyvoidsetAmazonDDBClient(software.amazon.awssdk.services.dynamodb.DynamoDbClient amazonDDBClient) To use the AmazonDynamoDB as the clientvoidsetConsistentRead(boolean consistentRead) Determines whether or not strong consistency should be enforced when data is read.voidsetEnabledInitialDescribeTable(boolean enabledInitialDescribeTable) Set whether the initial Describe table operation in the DDB Endpoint must be done, or not.voidsetKeyAttributeName(String keyAttributeName) Attribute name when creating tablevoidsetKeyAttributeType(String keyAttributeType) Attribute type when creating tablevoidsetKeyScalarType(String keyScalarType) The key scalar type, it can be S (String), N (Number) and B (Bytes)voidsetOperation(Ddb2Operations operation) What operation to performvoidsetOverrideEndpoint(boolean overrideEndpoint) Set the need for overidding the endpoint.voidsetProxyHost(String proxyHost) To define a proxy host when instantiating the DDB clientvoidsetProxyPort(Integer proxyPort) The region in which DynamoDB client needs to work.voidsetProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol) To define a proxy protocol when instantiating the DDB clientvoidsetReadCapacity(Long readCapacity) The provisioned throughput to reserve for reading resources from your tablevoidThe region in which DDB client needs to workvoidsetSecretKey(String secretKey) Amazon AWS Secret KeyvoidsetTableName(String tableName) The name of the table currently worked with.voidsetTrustAllCertificates(boolean trustAllCertificates) If we want to trust all certificates in case of overriding the endpointvoidsetUriEndpointOverride(String uriEndpointOverride) Set the overriding uri endpoint.voidsetUseDefaultCredentialsProvider(Boolean useDefaultCredentialsProvider) Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.voidsetWriteCapacity(Long writeCapacity) The provisioned throughput to reserved for writing resources to your table
-
Constructor Details
-
Ddb2Configuration
public Ddb2Configuration()
-
-
Method Details
-
getAccessKey
-
setAccessKey
Amazon AWS Access Key -
getSecretKey
-
setSecretKey
Amazon AWS Secret Key -
getAmazonDDBClient
public software.amazon.awssdk.services.dynamodb.DynamoDbClient getAmazonDDBClient() -
setAmazonDDBClient
public void setAmazonDDBClient(software.amazon.awssdk.services.dynamodb.DynamoDbClient amazonDDBClient) To use the AmazonDynamoDB as the client -
getTableName
-
setTableName
The name of the table currently worked with. -
getOperation
-
setOperation
What operation to perform -
isConsistentRead
public boolean isConsistentRead() -
setConsistentRead
public void setConsistentRead(boolean consistentRead) Determines whether or not strong consistency should be enforced when data is read. -
getReadCapacity
-
setReadCapacity
The provisioned throughput to reserve for reading resources from your table -
getWriteCapacity
-
setWriteCapacity
The provisioned throughput to reserved for writing resources to your table -
getKeyAttributeName
-
setKeyAttributeName
Attribute name when creating table -
getKeyAttributeType
-
setKeyAttributeType
Attribute type when creating table -
getProxyProtocol
public software.amazon.awssdk.core.Protocol getProxyProtocol() -
setProxyProtocol
public void setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol) To define a proxy protocol when instantiating the DDB client -
getProxyHost
-
setProxyHost
To define a proxy host when instantiating the DDB client -
getProxyPort
-
setProxyPort
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() -
getRegion
-
setRegion
The region in which DDB client needs to work -
isTrustAllCertificates
public boolean isTrustAllCertificates() -
setTrustAllCertificates
public void setTrustAllCertificates(boolean trustAllCertificates) If we want to trust all certificates in case of overriding the endpoint -
isOverrideEndpoint
public boolean isOverrideEndpoint() -
setOverrideEndpoint
public void setOverrideEndpoint(boolean overrideEndpoint) Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option -
getUriEndpointOverride
-
setUriEndpointOverride
Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option -
getKeyScalarType
-
setKeyScalarType
The key scalar type, it can be S (String), N (Number) and B (Bytes) -
setUseDefaultCredentialsProvider
Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. -
isUseDefaultCredentialsProvider
-
isEnabledInitialDescribeTable
public boolean isEnabledInitialDescribeTable() -
setEnabledInitialDescribeTable
public void setEnabledInitialDescribeTable(boolean enabledInitialDescribeTable) Set whether the initial Describe table operation in the DDB Endpoint must be done, or not. -
copy
-