Interface CreateRuleResponse.Builder

    • Method Detail

      • action

        CreateRuleResponse.Builder action​(RuleAction action)

        The rule action. Each rule must include exactly one of the following types of actions: forward or fixed-response, and it must be the last action to be performed.

        Parameters:
        action - The rule action. Each rule must include exactly one of the following types of actions: forward or fixed-response, and it must be the last action to be performed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        CreateRuleResponse.Builder arn​(String 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

        CreateRuleResponse.Builder id​(String 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

        CreateRuleResponse.Builder match​(RuleMatch 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.
      • name

        CreateRuleResponse.Builder name​(String 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.