Interface UpdateWebAclRequest.Builder

    • Method Detail

      • changeToken

        UpdateWebAclRequest.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.
      • updates

        UpdateWebAclRequest.Builder updates​(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.
      • updates

        UpdateWebAclRequest.Builder updates​(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.
      • updates

        UpdateWebAclRequest.Builder updates​(Consumer<WebACLUpdate.Builder>... 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

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #updates(List).

        Parameters:
        updates - a consumer that will call methods on WebACLUpdate.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #updates(java.util.Collection)
      • defaultAction

        UpdateWebAclRequest.Builder defaultAction​(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.