Interface Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder
- All Superinterfaces:
ComponentBuilder<org.apache.camel.component.aws2.ddbstream.Ddb2StreamComponent>
- All Known Implementing Classes:
Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilderImpl
- Enclosing interface:
- Aws2DdbstreamComponentBuilderFactory
public static interface Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder
extends ComponentBuilder<org.apache.camel.component.aws2.ddbstream.Ddb2StreamComponent>
Builder for the AWS DynamoDB Streams component.
-
Method Summary
Modifier and TypeMethodDescriptionAmazon AWS Access Key.amazonDynamoDbStreamsClient
(software.amazon.awssdk.services.dynamodb.streams.DynamoDbStreamsClient amazonDynamoDbStreamsClient) Amazon DynamoDB client to use for all requests for this endpoint.autowiredEnabled
(boolean autowiredEnabled) Whether autowiring is enabled.bridgeErrorHandler
(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler.configuration
(org.apache.camel.component.aws2.ddbstream.Ddb2StreamConfiguration configuration) The component configuration.maxResultsPerRequest
(int maxResultsPerRequest) Maximum number of records that will be fetched in each poll.overrideEndpoint
(boolean overrideEndpoint) Set the need for overidding the endpoint.To define a proxy host when instantiating the DDBStreams client.To define a proxy port when instantiating the DDBStreams client.proxyProtocol
(software.amazon.awssdk.core.Protocol proxyProtocol) To define a proxy protocol when instantiating the DDBStreams client.The region in which DDBStreams client needs to work.Amazon AWS Secret Key.streamIteratorType
(org.apache.camel.component.aws2.ddbstream.Ddb2StreamConfiguration.StreamIteratorType streamIteratorType) Defines where in the DynamoDB stream to start getting records.trustAllCertificates
(boolean 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 DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
Method Details
-
amazonDynamoDbStreamsClient
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder amazonDynamoDbStreamsClient(software.amazon.awssdk.services.dynamodb.streams.DynamoDbStreamsClient amazonDynamoDbStreamsClient) Amazon DynamoDB client to use for all requests for this endpoint. The option is a: <code>software.amazon.awssdk.services.dynamodb.streams.DynamoDbStreamsClient</code> type. Group: consumer- Parameters:
amazonDynamoDbStreamsClient
- the value to set- Returns:
- the dsl builder
-
bridgeErrorHandler
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
bridgeErrorHandler
- the value to set- Returns:
- the dsl builder
-
configuration
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder configuration(org.apache.camel.component.aws2.ddbstream.Ddb2StreamConfiguration configuration) The component configuration. The option is a: <code>org.apache.camel.component.aws2.ddbstream.Ddb2StreamConfiguration</code> type. Group: consumer- Parameters:
configuration
- the value to set- Returns:
- the dsl builder
-
maxResultsPerRequest
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder maxResultsPerRequest(int maxResultsPerRequest) Maximum number of records that will be fetched in each poll. The option is a: <code>int</code> type. Group: consumer- Parameters:
maxResultsPerRequest
- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder overrideEndpoint(boolean overrideEndpoint) Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
overrideEndpoint
- the value to set- Returns:
- the dsl builder
-
proxyHost
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder proxyHost(String proxyHost) To define a proxy host when instantiating the DDBStreams client. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
proxyHost
- the value to set- Returns:
- the dsl builder
-
proxyPort
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder proxyPort(Integer proxyPort) To define a proxy port when instantiating the DDBStreams client. The option is a: <code>java.lang.Integer</code> type. Group: consumer- Parameters:
proxyPort
- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol) To define a proxy protocol when instantiating the DDBStreams client. The option is a: <code>software.amazon.awssdk.core.Protocol</code> type. Default: HTTPS Group: consumer- Parameters:
proxyProtocol
- the value to set- Returns:
- the dsl builder
-
region
The region in which DDBStreams client needs to work. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
region
- the value to set- Returns:
- the dsl builder
-
streamIteratorType
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder streamIteratorType(org.apache.camel.component.aws2.ddbstream.Ddb2StreamConfiguration.StreamIteratorType streamIteratorType) Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. The option is a: <code>org.apache.camel.component.aws2.ddbstream.Ddb2StreamConfiguration.StreamIteratorType</code> type. Default: FROM_LATEST Group: consumer- Parameters:
streamIteratorType
- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder trustAllCertificates(boolean trustAllCertificates) If we want to trust all certificates in case of overriding the endpoint. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
trustAllCertificates
- the value to set- Returns:
- the dsl builder
-
uriEndpointOverride
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder uriEndpointOverride(String uriEndpointOverride) Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option. The option is a: <code>java.lang.String</code> type. Group: consumer- Parameters:
uriEndpointOverride
- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder useDefaultCredentialsProvider(boolean useDefaultCredentialsProvider) Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
useDefaultCredentialsProvider
- the value to set- Returns:
- the dsl builder
-
autowiredEnabled
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder autowiredEnabled(boolean autowiredEnabled) Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. The option is a: <code>boolean</code> type. Default: true Group: advanced- Parameters:
autowiredEnabled
- the value to set- Returns:
- the dsl builder
-
accessKey
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder accessKey(String accessKey) Amazon AWS Access Key. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
accessKey
- the value to set- Returns:
- the dsl builder
-
secretKey
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder secretKey(String secretKey) Amazon AWS Secret Key. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
secretKey
- the value to set- Returns:
- the dsl builder
-