public static class SummarizeHostInsightResourceUsageAggregation.Builder extends Object
Constructor and Description |
---|
Builder() |
public SummarizeHostInsightResourceUsageAggregation.Builder timeIntervalStart(Date timeIntervalStart)
The start timestamp that was passed into the request.
timeIntervalStart
- the value to setpublic SummarizeHostInsightResourceUsageAggregation.Builder timeIntervalEnd(Date timeIntervalEnd)
The end timestamp that was passed into the request.
timeIntervalEnd
- the value to setpublic SummarizeHostInsightResourceUsageAggregation.Builder resourceMetric(SummarizeHostInsightResourceUsageAggregation.ResourceMetric resourceMetric)
Defines the type of resource metric (CPU, Physical Memory, Logical Memory)
resourceMetric
- the value to setpublic SummarizeHostInsightResourceUsageAggregation.Builder usageUnit(SummarizeHostInsightResourceUsageAggregation.UsageUnit usageUnit)
Displays usage unit ( CORES, GB , PERCENT, MBPS)
usageUnit
- the value to setpublic SummarizeHostInsightResourceUsageAggregation.Builder usage(Double usage)
Total amount used of the resource metric type (CPU, STORAGE).
usage
- the value to setpublic SummarizeHostInsightResourceUsageAggregation.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 SummarizeHostInsightResourceUsageAggregation.Builder usageChangePercent(Double usageChangePercent)
Percentage change in resource usage during the current period calculated using linear regression functions
usageChangePercent
- the value to setpublic SummarizeHostInsightResourceUsageAggregation build()
public SummarizeHostInsightResourceUsageAggregation.Builder copy(SummarizeHostInsightResourceUsageAggregation model)
Copyright © 2016–2024. All rights reserved.