public void setType(String type) {
        this.type = type;
    }
<p>
The type of this hyperparameter. The valid types are <code>Integer</code>, <code>Continuous</code>,
<code>Categorical</code>, and <code>FreeText</code>.
</p>

@param type
       The type of this hyperparameter. The valid types are <code>Integer</code>, <code>Continuous</code>,
       <code>Categorical</code>, and <code>FreeText</code>.
@see ParameterType
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/HyperParameterSpecification.java