Interface AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder

All Superinterfaces:
ComponentBuilder<org.apache.camel.component.aws.cloudtrail.CloudtrailComponent>
All Known Implementing Classes:
AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilderImpl
Enclosing interface:
AwsCloudtrailComponentBuilderFactory

public static interface AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder extends ComponentBuilder<org.apache.camel.component.aws.cloudtrail.CloudtrailComponent>
Builder for the AWS Cloudtrail component.
  • Method Details

    • bridgeErrorHandler

      default AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder 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
    • cloudTrailClient

      default AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder cloudTrailClient(software.amazon.awssdk.services.cloudtrail.CloudTrailClient cloudTrailClient)
      Amazon Cloudtrail client to use for all requests for this endpoint. The option is a: <code>software.amazon.awssdk.services.cloudtrail.CloudTrailClient</code> type. Group: consumer
      Parameters:
      cloudTrailClient - the value to set
      Returns:
      the dsl builder
    • configuration

      default AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder configuration(org.apache.camel.component.aws.cloudtrail.CloudtrailConfiguration configuration)
      Component configuration. The option is a: <code>org.apache.camel.component.aws.cloudtrail.CloudtrailConfiguration</code> type. Group: consumer
      Parameters:
      configuration - the value to set
      Returns:
      the dsl builder
    • eventSource

      Specify an event source to select events. The option is a: <code>java.lang.String</code> type. Group: consumer
      Parameters:
      eventSource - the value to set
      Returns:
      the dsl builder
    • maxResults

      Maximum number of records that will be fetched in each poll. The option is a: <code>int</code> type. Default: 1 Group: consumer
      Parameters:
      maxResults - the value to set
      Returns:
      the dsl builder
    • overrideEndpoint

      default AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder 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

      To define a proxy host when instantiating the Cloudtrail client. The option is a: <code>java.lang.String</code> type. Group: consumer
      Parameters:
      proxyHost - the value to set
      Returns:
      the dsl builder
    • proxyPort

      To define a proxy port when instantiating the Cloudtrail 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 AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
      To define a proxy protocol when instantiating the Cloudtrail 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 Cloudtrail 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: <code>java.lang.String</code> type. Group: consumer
      Parameters:
      region - the value to set
      Returns:
      the dsl builder
    • trustAllCertificates

      default AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder 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 AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder 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 AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder useDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)
      Set whether the Cloudtrail 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 AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder 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

      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

      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