public DescribeTimeSeriesResult withDataType(String dataType) {
        setDataType(dataType);
        return this;
    }
<p>
The data type of the time series.
</p>
<p>
If you specify <code>STRUCT</code>, you must also specify <code>dataTypeSpec</code> to identify the type of the
structure for this time series.
</p>

@param dataType
       The data type of the time series.</p>
       <p>
       If you specify <code>STRUCT</code>, you must also specify <code>dataTypeSpec</code> to identify the type
       of the structure for this time series.
@return Returns a reference to this object so that method calls can be chained together.
@see PropertyDataType
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/DescribeTimeSeriesResult.java