public MetricDataResult withTimestamps(java.util.Collection<java.util.Date> timestamps) {
        setTimestamps(timestamps);
        return this;
    }
public MetricDataResult withTimestamps ( java . util . Collection < java . util . Date > timestamps ) { setTimestamps ( timestamps ) ; return this ; }
<p>
The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches
the number of values and the value for Timestamps[x] is Values[x].
</p>

@param timestamps
The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always
matches the number of values and the value for Timestamps[x] is Values[x].
@return Returns a reference to this object so that method calls can be chained together.