Interface ProxyRuleGroup.Builder

  • Method Details

    • proxyRuleGroupName

      ProxyRuleGroup.Builder proxyRuleGroupName(String proxyRuleGroupName)

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

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

      ProxyRuleGroup.Builder proxyRuleGroupArn(String proxyRuleGroupArn)

      The Amazon Resource Name (ARN) of a proxy rule group.

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

      ProxyRuleGroup.Builder createTime(Instant createTime)

      Time the Proxy Rule Group was created.

      Parameters:
      createTime - Time the Proxy Rule Group was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteTime

      ProxyRuleGroup.Builder deleteTime(Instant deleteTime)

      Time the Proxy Rule Group was deleted.

      Parameters:
      deleteTime - Time the Proxy Rule Group was deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

      Parameters:
      rules - Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      Individual rules that define match conditions and actions for application-layer traffic. Rules specify what to inspect (domains, headers, methods) and what action to take (allow, deny, alert).

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

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

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

      ProxyRuleGroup.Builder description(String description)

      A description of the proxy rule group.

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

      The key:value pairs to associate with the resource.

      Parameters:
      tags - The key:value pairs to associate with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      ProxyRuleGroup.Builder tags(Tag... tags)

      The key:value pairs to associate with the resource.

      Parameters:
      tags - The key:value pairs to associate with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The key:value pairs to associate with the resource.

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

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

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