public void setCategoricalHyperParameterRanges(java.util.Collection<CategoricalHyperParameterRange> categoricalHyperParameterRanges) {
        if (categoricalHyperParameterRanges == null) {
            this.categoricalHyperParameterRanges = null;
            return;
        }

        this.categoricalHyperParameterRanges = new java.util.ArrayList<CategoricalHyperParameterRange>(categoricalHyperParameterRanges);
    }
<p>
The categorical hyperparameters and their ranges.
</p>

@param categoricalHyperParameterRanges
       The categorical hyperparameters and their ranges.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/HyperParameterRanges.java