public GetMetricDataV2Request withStartTime(java.util.Date startTime) {
        setStartTime(startTime);
        return this;
    }
<p>
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of
historical metrics data. The time must be before the end time timestamp. The start and end time depends on the
<code>IntervalPeriod</code> selected. By default the time range between start and end time is 35 days. Historical
metrics are available for 3 months.
</p>

@param startTime
       The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of
       historical metrics data. The time must be before the end time timestamp. The start and end time depends on
       the <code>IntervalPeriod</code> selected. By default the time range between start and end time is 35 days.
       Historical metrics are available for 3 months.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataV2Request.java