Interface RuleUpdate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<RuleUpdate.Builder,RuleUpdate>, SdkBuilder<RuleUpdate.Builder,RuleUpdate>, SdkPojo
Enclosing class:
RuleUpdate

public static interface RuleUpdate.Builder extends SdkPojo, CopyableBuilder<RuleUpdate.Builder,RuleUpdate>
  • Method Details

    • action

      The rule action.

      Parameters:
      action - The rule action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      The rule action.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to action(RuleAction).

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

      The rule match.

      Parameters:
      match - The rule match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • match

      The rule match.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to match(RuleMatch).

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

      RuleUpdate.Builder priority(Integer priority)

      The rule priority. A listener can't have multiple rules with the same priority.

      Parameters:
      priority - The rule priority. A listener can't have multiple rules with the same priority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleIdentifier

      RuleUpdate.Builder ruleIdentifier(String ruleIdentifier)

      The ID or Amazon Resource Name (ARN) of the rule.

      Parameters:
      ruleIdentifier - The ID or Amazon Resource Name (ARN) of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.