public RulesSourceList withGeneratedRulesType(GeneratedRulesType generatedRulesType) {
        this.generatedRulesType = generatedRulesType.toString();
        return this;
    }
<p>
Whether you want to allow or deny access to the domains in your target list.
</p>

@param generatedRulesType
       Whether you want to allow or deny access to the domains in your target list.
@return Returns a reference to this object so that method calls can be chained together.
@see GeneratedRulesType
aws-java-sdk-networkfirewall/src/main/java/com/amazonaws/services/networkfirewall/model/RulesSourceList.java