code: public void setCategoricalParameterRanges(java.util.Collection<CategoricalParameterRange> categoricalParameterRanges) {
          if (categoricalParameterRanges == null) {
              this.categoricalParameterRanges = null;
              return;
          }
  
          this.categoricalParameterRanges = new java.util.ArrayList<CategoricalParameterRange>(categoricalParameterRanges);
      }
docs: <p>
  The array of <a>CategoricalParameterRange</a> objects that specify ranges of categorical hyperparameters that a
  hyperparameter tuning job searches.
  </p>
  
  @param categoricalParameterRanges
  The array of <a>CategoricalParameterRange</a> objects that specify ranges of categorical hyperparameters
  that a hyperparameter tuning job searches.