public String getType() {
        return this.type;
    }
<p>
The rule type, either <code>REGULAR</code>, as defined by <a>Rule</a>, <code>RATE_BASED</code>, as defined by
<a>RateBasedRule</a>, or <code>GROUP</code>, as defined by <a>RuleGroup</a>. The default is REGULAR. Although
this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL without setting the type,
the <a>UpdateWebACL</a> request will fail because the request tries to add a REGULAR rule with the specified ID,
which does not exist.
</p>

@return The rule type, either <code>REGULAR</code>, as defined by <a>Rule</a>, <code>RATE_BASED</code>, as
        defined by <a>RateBasedRule</a>, or <code>GROUP</code>, as defined by <a>RuleGroup</a>. The default is
        REGULAR. Although this field is optional, be aware that if you try to add a RATE_BASED rule to a web ACL
        without setting the type, the <a>UpdateWebACL</a> request will fail because the request tries to add a
        REGULAR rule with the specified ID, which does not exist.
@see WafRuleType
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/ActivatedRule.java