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