public static class SqlStatisticsTimeSeriesAggregationCollection.Builder extends Object
Constructor and Description |
---|
Builder() |
public SqlStatisticsTimeSeriesAggregationCollection.Builder sqlIdentifier(String sqlIdentifier)
Unique SQL_ID for a SQL Statement.
sqlIdentifier
- the value to setpublic SqlStatisticsTimeSeriesAggregationCollection.Builder timeIntervalStart(Date timeIntervalStart)
The start timestamp that was passed into the request.
timeIntervalStart
- the value to setpublic SqlStatisticsTimeSeriesAggregationCollection.Builder timeIntervalEnd(Date timeIntervalEnd)
The end timestamp that was passed into the request.
timeIntervalEnd
- the value to setpublic SqlStatisticsTimeSeriesAggregationCollection.Builder itemDurationInMs(Long itemDurationInMs)
Time duration in milliseconds between data points (one hour or one day).
itemDurationInMs
- the value to setpublic SqlStatisticsTimeSeriesAggregationCollection.Builder endTimestamps(List<Date> endTimestamps)
Array comprising of all the sampling period end timestamps in RFC 3339 format.
endTimestamps
- the value to setpublic SqlStatisticsTimeSeriesAggregationCollection.Builder items(List<SqlStatisticsTimeSeriesAggregation> items)
Array of SQL performance statistics across databases.
items
- the value to setpublic SqlStatisticsTimeSeriesAggregationCollection build()
public SqlStatisticsTimeSeriesAggregationCollection.Builder copy(SqlStatisticsTimeSeriesAggregationCollection model)
Copyright © 2016–2024. All rights reserved.