public HyperParameterSpecification withRange(ParameterRange range) {
        setRange(range);
        return this;
    }
<p>
The allowed range for this hyperparameter.
</p>

@param range
       The allowed range for this hyperparameter.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/HyperParameterSpecification.java