Interface AwsWafWebAclDetails.Builder

    • Method Detail

      • name

        AwsWafWebAclDetails.Builder name​(String 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

        AwsWafWebAclDetails.Builder rules​(Collection<AwsWafWebAclRule> 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

        AwsWafWebAclDetails.Builder rules​(AwsWafWebAclRule... 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.
      • 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.