public java.util.Date getEndTime() {
        return this.endTime;
    }
<p>
The end of the time interval from 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 an end time of October 1, 2018, at 8 PM UTC, then you input
<code>1538424000</code> as the end time.
</p>
</li>
</ul>

@return The end of the time interval from 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 an end time of October 1, 2018, at 8 PM UTC, then you input
        <code>1538424000</code> as the end time.
        </p>
        </li>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetRelationalDatabaseMetricDataRequest.java