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 UpdateWebACLRequest

    • Constructor Detail

      • UpdateWebACLRequest

        public UpdateWebACLRequest()
    • Method Detail

      • setChangeToken

        public void setChangeToken(String changeToken)

        The value returned by the most recent call to GetChangeToken.

        Parameters:
        changeToken - The value returned by the most recent call to GetChangeToken.
      • getChangeToken

        public String getChangeToken()

        The value returned by the most recent call to GetChangeToken.

        Returns:
        The value returned by the most recent call to GetChangeToken.
      • withChangeToken

        public UpdateWebACLRequest withChangeToken(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.
      • getUpdates

        public List<WebACLUpdate> getUpdates()

        An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

        Returns:
        An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

      • setUpdates

        public void setUpdates(Collection<WebACLUpdate> updates)

        An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

        Parameters:
        updates - An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

      • withUpdates

        public UpdateWebACLRequest withUpdates(WebACLUpdate... updates)

        An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

        NOTE: This method appends the values to the existing list (if any). Use setUpdates(java.util.Collection) or withUpdates(java.util.Collection) if you want to override the existing values.

        Parameters:
        updates - An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

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

        public UpdateWebACLRequest withUpdates(Collection<WebACLUpdate> updates)

        An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

        Parameters:
        updates - An array of updates to make to the WebACL.

        An array of WebACLUpdate objects that you want to insert into or delete from a WebACL. For more information, see the applicable data types:

        • WebACLUpdate: Contains Action and ActivatedRule

        • ActivatedRule: Contains Action, OverrideAction, Priority, RuleId, and Type. ActivatedRule|OverrideAction applies only when updating or adding a RuleGroup to a WebACL. In this case, you do not use ActivatedRule|Action. For all other update requests, ActivatedRule|Action is used instead of ActivatedRule|OverrideAction.

        • WafAction: Contains Type

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

        public void setDefaultAction(WafAction defaultAction)

        A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.

        Parameters:
        defaultAction - A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
      • getDefaultAction

        public WafAction getDefaultAction()

        A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.

        Returns:
        A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
      • withDefaultAction

        public UpdateWebACLRequest withDefaultAction(WafAction defaultAction)

        A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.

        Parameters:
        defaultAction - A default action for the web ACL, either ALLOW or BLOCK. AWS WAF performs the default action if a request doesn't match the criteria in any of the rules in a web ACL.
        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 によって変換されたページ (->オリジナル) /