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