public AwsWafRegionalWebAclRulesListDetails withAction(AwsWafRegionalWebAclRulesListActionDetails action) {
        setAction(action);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafRegionalWebAclRulesListDetails.java