Interface AwsWafWebAclDetails.Builder

  • Method Details

    • name

      A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.

      Parameters:
      name - A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAction

      AwsWafWebAclDetails.Builder defaultAction(String defaultAction)

      The action to perform if none of the rules contained in the web ACL match.

      Parameters:
      defaultAction - The action to perform if none of the rules contained in the web ACL match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.

      Parameters:
      rules - An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.

      Parameters:
      rules - An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.

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

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

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

      AwsWafWebAclDetails.Builder webAclId(String webAclId)

      A unique identifier for a web ACL.

      Parameters:
      webAclId - A unique identifier for a web ACL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.