Interface CreateRuleResponse.Builder

  • 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:
    • arn

      The Amazon Resource Name (ARN) of the rule.

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

      The ID of the rule.

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

      The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.

      Parameters:
      match - The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • match

      The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.

      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:
    • name

      The name of the rule.

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

      CreateRuleResponse.Builder priority(Integer priority)

      The priority assigned to the rule. The lower the priority number the higher the priority.

      Parameters:
      priority - The priority assigned to the rule. The lower the priority number the higher the priority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.