code: public void setCustomRules(java.util.Collection<CustomRule> customRules) {
          if (customRules == null) {
              this.customRules = null;
              return;
          }
  
          this.customRules = new java.util.ArrayList<CustomRule>(customRules);
      }
docs: <p>
  Custom rewrite / redirect rules for an Amplify App.
  </p>
  
  @param customRules
  Custom rewrite / redirect rules for an Amplify App.