Interface CreateProxyRule.Builder

  • Method Details

    • proxyRuleName

      CreateProxyRule.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

      CreateProxyRule.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

      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

      CreateProxyRule.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:
    • insertPosition

      CreateProxyRule.Builder insertPosition(Integer insertPosition)

      Where to insert a proxy rule in a proxy rule group.

      Parameters:
      insertPosition - Where to insert a proxy rule in a proxy rule group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.