public AwsWafRegionalWebAclRulesListDetails withType(String type) {
        setType(type);
        return this;
    }
<p>
For actions that are associated with a rule, the action that WAF takes when a web request matches all conditions
in a rule.
</p>

@param type
       For actions that are associated with a rule, the action that WAF takes when a web request matches all
       conditions in a rule.
@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