Interface ResponseAction.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResponseAction.Builder,ResponseAction>, SdkBuilder<ResponseAction.Builder,ResponseAction>, SdkPojo
Enclosing class:
ResponseAction

public static interface ResponseAction.Builder extends SdkPojo, CopyableBuilder<ResponseAction.Builder,ResponseAction>
  • Method Details

    • block

      Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

      You must specify exactly one action, either Block or Count.

      Parameters:
      block - Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

      You must specify exactly one action, either Block or Count.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • block

      Specifies that Shield Advanced should configure its WAF rules with the WAF Block action.

      You must specify exactly one action, either Block or Count.

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

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

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

      Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

      You must specify exactly one action, either Block or Count.

      Parameters:
      count - Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

      You must specify exactly one action, either Block or Count.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • count

      Specifies that Shield Advanced should configure its WAF rules with the WAF Count action.

      You must specify exactly one action, either Block or Count.

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

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

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