Interface ProvisionedPollerConfig.Builder

  • Method Details

    • minimumPollers

      ProvisionedPollerConfig.Builder minimumPollers(Integer minimumPollers)

      The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.

      Parameters:
      minimumPollers - The minimum number of event pollers this event source can scale down to. For Amazon SQS events source mappings, default is 2, and minimum 2 required. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maximumPollers

      ProvisionedPollerConfig.Builder maximumPollers(Integer maximumPollers)

      The maximum number of event pollers this event source can scale up to. For Amazon SQS events source mappings, default is 200, and minimum value allowed is 2. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 200, and minimum value allowed is 1.

      Parameters:
      maximumPollers - The maximum number of event pollers this event source can scale up to. For Amazon SQS events source mappings, default is 200, and minimum value allowed is 2. For Amazon MSK and self-managed Apache Kafka event source mappings, default is 200, and minimum value allowed is 1.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pollerGroupName

      ProvisionedPollerConfig.Builder pollerGroupName(String pollerGroupName)

      (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.

      Parameters:
      pollerGroupName - (Amazon MSK and self-managed Apache Kafka) The name of the provisioned poller group. Use this option to group multiple ESMs within the event source's VPC to share Event Poller Unit (EPU) capacity. You can use this option to optimize Provisioned mode costs for your ESMs. You can group up to 100 ESMs per poller group and aggregate maximum pollers across all ESMs in a group cannot exceed 2000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.