Interface ProxyRule.Builder

  • Method Details

    • proxyRuleName

      ProxyRule.Builder proxyRuleName(String proxyRuleName)

      The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.

      Parameters:
      proxyRuleName - The descriptive name of the proxy rule. You can't change the name of a proxy rule after you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ProxyRule.Builder description(String description)

      A description of the proxy rule.

      Parameters:
      description - A description of the proxy rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • action

      ProxyRule.Builder action(String action)

      Action to take.

      Parameters:
      action - Action to take.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      Action to take.

      Parameters:
      action - Action to take.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conditions

      Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

      Parameters:
      conditions - Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      ProxyRule.Builder conditions(ProxyRuleCondition... conditions)

      Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

      Parameters:
      conditions - Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      Match criteria that specify what traffic attributes to examine. Conditions include operators (StringEquals, StringLike) and values to match against.

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

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

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