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