Interface CapabilityConfiguration.Builder

  • Method Details

    • enabled

      Whether the capability is enabled.

      Parameters:
      enabled - Whether the capability is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerFilterGroups

      CapabilityConfiguration.Builder triggerFilterGroups(Collection<TriggerFilterGroup> triggerFilterGroups)

      Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.

      Parameters:
      triggerFilterGroups - Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerFilterGroups

      CapabilityConfiguration.Builder triggerFilterGroups(TriggerFilterGroup... triggerFilterGroups)

      Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.

      Parameters:
      triggerFilterGroups - Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • triggerFilterGroups

      CapabilityConfiguration.Builder triggerFilterGroups(Consumer<TriggerFilterGroup.Builder>... triggerFilterGroups)

      Optional trigger filter groups. Evaluated only when enabled=true; retained while the capability is disabled, so re-enabling restores the prior trigger behavior.

      This is a convenience method that creates an instance of the TriggerFilterGroup.Builder avoiding the need to create one manually via TriggerFilterGroup.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to triggerFilterGroups(List<TriggerFilterGroup>).

      Parameters:
      triggerFilterGroups - a consumer that will call methods on TriggerFilterGroup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: