public GetResourceMetricsResult withAlignedStartTime(java.util.Date alignedStartTime) {
        setAlignedStartTime(alignedStartTime);
        return this;
    }
<p>
The start time for the returned metrics, after alignment to a granular boundary (as specified by
<code>PeriodInSeconds</code>). <code>AlignedStartTime</code> will be less than or equal to the value of the
user-specified <code>StartTime</code>.
</p>

@param alignedStartTime
       The start time for the returned metrics, after alignment to a granular boundary (as specified by
       <code>PeriodInSeconds</code>). <code>AlignedStartTime</code> will be less than or equal to the value of
       the user-specified <code>StartTime</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/GetResourceMetricsResult.java