public GetDistributionMetricDataRequest withStartTime(java.util.Date startTime) {
        setStartTime(startTime);
        return this;
    }
<p>
The start of the time interval for which to get metric data.
</p>
<p>
Constraints:
</p>
<ul>
<li>
<p>
Specified in Coordinated Universal Time (UTC).
</p>
</li>
<li>
<p>
Specified in the Unix time format.
</p>
<p>
For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify <code>1538424000</code> as
the start time.
</p>
</li>
</ul>
<p>
You can convert a human-friendly time to Unix time format using a converter like <a
href="https://www.epochconverter.com/">Epoch converter</a>.
</p>

@param startTime
       The start of the time interval for which to get metric data.</p>
       <p>
       Constraints:
       </p>
       <ul>
       <li>
       <p>
       Specified in Coordinated Universal Time (UTC).
       </p>
       </li>
       <li>
       <p>
       Specified in the Unix time format.
       </p>
       <p>
       For example, if you wish to use a start time of October 1, 2018, at 8 PM UTC, specify
       <code>1538424000</code> as the start time.
       </p>
       </li>
       </ul>
       <p>
       You can convert a human-friendly time to Unix time format using a converter like <a
       href="https://www.epochconverter.com/">Epoch converter</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetDistributionMetricDataRequest.java