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 (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 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 overriding 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 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
    • 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
    • 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
    • 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: advanced
      Parameters:
      cloudTrailClient - the value to set
      Returns:
      the dsl builder
    • healthCheckConsumerEnabled

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

      To define a proxy host when instantiating the Cloudtrail client. The option is a: <code>java.lang.String</code> type. Group: proxy
      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: proxy
      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: proxy
      Parameters:
      proxyProtocol - 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
    • profileCredentialsName

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

      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
    • sessionToken

      Amazon AWS Session Token used when the user needs to assume a IAM role. The option is a: <code>java.lang.String</code> type. Group: security
      Parameters:
      sessionToken - 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: security
      Parameters:
      trustAllCertificates - 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: security
      Parameters:
      useDefaultCredentialsProvider - the value to set
      Returns:
      the dsl builder
    • useProfileCredentialsProvider

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

      default AwsCloudtrailComponentBuilderFactory.AwsCloudtrailComponentBuilder useSessionCredentials(boolean useSessionCredentials)
      Set whether the CloudTrail client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in CloudTrail. The option is a: <code>boolean</code> type. Default: false Group: security
      Parameters:
      useSessionCredentials - the value to set
      Returns:
      the dsl builder