public Sensor withDataType(String dataType) {
        setDataType(dataType);
        return this;
    }
<p>
The specified data type of the sensor.
</p>

@param dataType
       The specified data type of the sensor.
@return Returns a reference to this object so that method calls can be chained together.
@see NodeDataType
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/Sensor.java