public DatasetParameter withType(ParameterType type) {
        this.type = type.toString();
        return this;
    }
<p>
The type of the dataset parameter, can be one of a 'String', 'Number' or 'Datetime'.
</p>

@param type
       The type of the dataset parameter, can be one of a 'String', 'Number' or 'Datetime'.
@return Returns a reference to this object so that method calls can be chained together.
@see ParameterType
aws-java-sdk-gluedatabrew/src/main/java/com/amazonaws/services/gluedatabrew/model/DatasetParameter.java