public App withCustomRules(java.util.Collection<CustomRule> customRules) {
        setCustomRules(customRules);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-amplify/src/main/java/com/amazonaws/services/amplify/model/App.java