public HyperParameterRanges withCategoricalHyperParameterRanges(java.util.Collection<CategoricalHyperParameterRange> categoricalHyperParameterRanges) {
        setCategoricalHyperParameterRanges(categoricalHyperParameterRanges);
        return this;
    }
<p>
The categorical hyperparameters and their ranges.
</p>

@param categoricalHyperParameterRanges
       The categorical hyperparameters and their ranges.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/HyperParameterRanges.java