public void setAction(AwsWafRegionalWebAclRulesListActionDetails action) {
        this.action = action;
    }
<p>
The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or count
the request.
</p>

@param action
       The action that WAF takes when a web request matches all conditions in the rule, such as allow, block, or
       count the request.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafRegionalWebAclRulesListDetails.java