public static class SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder extends Object
Constructor and Description |
---|
Builder() |
public SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder timeIntervalStart(Date timeIntervalStart)
The start timestamp that was passed into the request.
timeIntervalStart
- the value to setpublic SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder timeIntervalEnd(Date timeIntervalEnd)
The end timestamp that was passed into the request.
timeIntervalEnd
- the value to setpublic SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder resourceMetric(SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.ResourceMetric resourceMetric)
Defines the type of resource metric (example: CPU, STORAGE)
resourceMetric
- the value to setpublic SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder usageUnit(SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.UsageUnit usageUnit)
Displays usage unit ( CORES, GB , PERCENT, MBPS)
usageUnit
- the value to setpublic SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder itemDurationInMs(Long itemDurationInMs)
Time duration in milliseconds between data points (one hour or one day).
itemDurationInMs
- the value to setpublic SummarizeDatabaseInsightResourceUsageTrendAggregationCollection.Builder usageData(List<ResourceUsageTrendAggregation> usageData)
Usage Data with time stamps
usageData
- the value to setpublic SummarizeDatabaseInsightResourceUsageTrendAggregationCollection build()
Copyright © 2016–2024. All rights reserved.