Interface CreateWebAclRequest.Builder

    • Method Detail

      • name

        CreateWebAclRequest.Builder name​(String name)

        A friendly name or description of the WebACL. You can't change Name after you create the WebACL.

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

        CreateWebAclRequest.Builder metricName​(String metricName)

        A friendly name or description for the metrics for this WebACL.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.

        Parameters:
        metricName - A friendly name or description for the metrics for this WebACL.The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change MetricName after you create the WebACL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultAction

        CreateWebAclRequest.Builder defaultAction​(WafAction defaultAction)

        The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.

        Parameters:
        defaultAction - The action that you want AWS WAF to take when a request doesn't match the criteria specified in any of the Rule objects that are associated with the WebACL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • changeToken

        CreateWebAclRequest.Builder changeToken​(String changeToken)

        The value returned by the most recent call to GetChangeToken.

        Parameters:
        changeToken - The value returned by the most recent call to GetChangeToken.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateWebAclRequest.Builder tags​(Tag... tags)

        Parameters:
        tags -
        Returns:
        Returns a reference to this object so that method calls can be chained together.