public void setCustomRules(java.util.Collection<CustomRule> customRules) {
        if (customRules == null) {
            this.customRules = null;
            return;
        }

        this.customRules = new java.util.ArrayList<CustomRule>(customRules);
    }
<p>
Describes the custom redirect and rewrite rules for the Amplify app.
</p>

@param customRules
       Describes the custom redirect and rewrite rules for the Amplify app.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/App.java