public Datum withScalarValue(String scalarValue) {
        setScalarValue(scalarValue);
        return this;
    }
<p>
Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
</p>

@param scalarValue
       Indicates if the data point is a scalar value such as integer, string, double, or Boolean.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-timestreamquery/src/main/java/com/amazonaws/services/timestreamquery/model/Datum.java