public void setCategoricalParameterRanges(java.util.Collection<CategoricalParameter> categoricalParameterRanges) {
        if (categoricalParameterRanges == null) {
            this.categoricalParameterRanges = null;
            return;
        }

        this.categoricalParameterRanges = new java.util.ArrayList<CategoricalParameter>(categoricalParameterRanges);
    }
<p>
Specified a list of parameters for each category.
</p>

@param categoricalParameterRanges
       Specified a list of parameters for each category.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/EnvironmentParameterRanges.java