public Variable withDataType(DataType dataType) {
        this.dataType = dataType.toString();
        return this;
    }
<p>
The data type of the variable. For more information see <a
href="https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types">Variable
types</a>.
</p>

@param dataType
       The data type of the variable. For more information see <a
       href="https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types">Variable
       types</a>.
@return Returns a reference to this object so that method calls can be chained together.
@see DataType
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/Variable.java