JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.waf.model

Class WebACLUpdate

    • Constructor Detail

      • WebACLUpdate

        public WebACLUpdate()
    • Method Detail

      • setAction

        public void setAction(String action)

        Specifies whether to insert a Rule into or delete a Rule from a WebACL.

        Parameters:
        action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
        See Also:
        ChangeAction
      • getAction

        public String getAction()

        Specifies whether to insert a Rule into or delete a Rule from a WebACL.

        Returns:
        Specifies whether to insert a Rule into or delete a Rule from a WebACL.
        See Also:
        ChangeAction
      • withAction

        public WebACLUpdate withAction(String action)

        Specifies whether to insert a Rule into or delete a Rule from a WebACL.

        Parameters:
        action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeAction
      • setAction

        public void setAction(ChangeAction action)

        Specifies whether to insert a Rule into or delete a Rule from a WebACL.

        Parameters:
        action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
        See Also:
        ChangeAction
      • withAction

        public WebACLUpdate withAction(ChangeAction action)

        Specifies whether to insert a Rule into or delete a Rule from a WebACL.

        Parameters:
        action - Specifies whether to insert a Rule into or delete a Rule from a WebACL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChangeAction
      • setActivatedRule

        public void setActivatedRule(ActivatedRule activatedRule)

        The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK , or COUNT).

        Parameters:
        activatedRule - The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).
      • getActivatedRule

        public ActivatedRule getActivatedRule()

        The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK , or COUNT).

        Returns:
        The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule ( ALLOW, BLOCK, or COUNT).
      • withActivatedRule

        public WebACLUpdate withActivatedRule(ActivatedRule activatedRule)

        The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK , or COUNT).

        Parameters:
        activatedRule - The ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /