public GetCurrentMetricDataResult withDataSnapshotTime(java.util.Date dataSnapshotTime) {
        setDataSnapshotTime(dataSnapshotTime);
        return this;
    }
<p>
The time at which the metrics were retrieved and cached for pagination.
</p>

@param dataSnapshotTime
       The time at which the metrics were retrieved and cached for pagination.
@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/GetCurrentMetricDataResult.java