public static class SummarizeDatabaseInsightResourceUsageAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
public SummarizeDatabaseInsightResourceUsageAggregation.Builder timeIntervalStart(Date timeIntervalStart)
The start timestamp that was passed into the request.
timeIntervalStart
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder timeIntervalEnd(Date timeIntervalEnd)
The end timestamp that was passed into the request.
timeIntervalEnd
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder resourceMetric(SummarizeDatabaseInsightResourceUsageAggregation.ResourceMetric resourceMetric)
Defines the type of resource metric (example: CPU, STORAGE)
resourceMetric
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder usageUnit(SummarizeDatabaseInsightResourceUsageAggregation.UsageUnit usageUnit)
Displays usage unit ( CORES, GB , PERCENT, MBPS)
usageUnit
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
usage
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder capacity(Double capacity)
The maximum allocated amount of the resource metric type (CPU, STORAGE) for a set of databases.
capacity
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder usageChangePercent(Double usageChangePercent)
Percentage change in resource usage during the current period calculated using linear regression functions
usageChangePercent
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation.Builder totalHostCapacity(Double totalHostCapacity)
The maximum host CPUs (cores x threads/core) on the underlying infrastructure. This only applies to CPU and does not not apply for Autonomous Databases.
totalHostCapacity
- the value to setpublic SummarizeDatabaseInsightResourceUsageAggregation build()
Copyright © 2016–2024. All rights reserved.