public void setTimeUnit(String timeUnit) {
        this.timeUnit = timeUnit;
    }
<p>
The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds,
or other supported values. Default is <code>MILLISECONDS</code>.
</p>

@param timeUnit
       The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds,
       nanoseconds, or other supported values. Default is <code>MILLISECONDS</code>.
@see TimeUnit
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/model/Record.java