public void setAction(WafAction action) {
        this.action = action;
    }
<p>
Specifies the action that CloudFront or WAF takes when a web request matches the conditions in the rule.
</p>

@param action
       Specifies the action that CloudFront or WAF takes when a web request matches the conditions in the rule.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsWafWebAclRule.java