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 (if possible) occurred while the Camel 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.healthCheckConsumerEnabled
(boolean healthCheckConsumerEnabled) Used for enabling or disabling all consumer based health checks from this component.healthCheckProducerEnabled
(boolean healthCheckProducerEnabled) Used for enabling or disabling all producer based health checks from this component.maxResultsPerRequest
(int maxResultsPerRequest) Maximum number of records that will be fetched in each poll.overrideEndpoint
(boolean overrideEndpoint) Set the need for overidding 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 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.useProfileCredentialsProvider
(boolean useProfileCredentialsProvider) Set whether the Cloudtrail client should expect to load credentials through a profile credentials provider.Methods inherited from interface org.apache.camel.builder.component.ComponentBuilder
build, build, doSetProperty, register
-
Method Details
-
bridgeErrorHandler
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler) Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. 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
-
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
-
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
-
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 (advanced)- Parameters:
amazonDynamoDbStreamsClient
- 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
-
healthCheckConsumerEnabled
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder healthCheckConsumerEnabled(boolean healthCheckConsumerEnabled) Used for enabling or disabling all consumer based health checks from this component. The option is a: <code>boolean</code> type. Default: true Group: health- Parameters:
healthCheckConsumerEnabled
- the value to set- Returns:
- the dsl builder
-
healthCheckProducerEnabled
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder healthCheckProducerEnabled(boolean healthCheckProducerEnabled) Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true. The option is a: <code>boolean</code> type. Default: true Group: health- Parameters:
healthCheckProducerEnabled
- 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: proxy- 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: proxy- 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: proxy- Parameters:
proxyProtocol
- 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
-
profileCredentialsName
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder profileCredentialsName(String profileCredentialsName) If using a profile credentials provider this parameter will set the profile name. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
profileCredentialsName
- 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
-
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: security- Parameters:
trustAllCertificates
- 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: security- Parameters:
useDefaultCredentialsProvider
- the value to set- Returns:
- the dsl builder
-
useProfileCredentialsProvider
default Aws2DdbstreamComponentBuilderFactory.Aws2DdbstreamComponentBuilder useProfileCredentialsProvider(boolean useProfileCredentialsProvider) Set whether the Cloudtrail client should expect to load credentials through a profile credentials provider. The option is a: <code>boolean</code> type. Default: false Group: security- Parameters:
useProfileCredentialsProvider
- the value to set- Returns:
- the dsl builder
-