Package com.oracle.bmc.opsi.model
Class SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder
-
- Enclosing class:
- SummarizeHostInsightResourceCapacityTrendAggregationCollection
public static class SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
timeIntervalStart
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder timeIntervalStart(Date timeIntervalStart)
The start timestamp that was passed into the request.- Parameters:
timeIntervalStart
- the value to set- Returns:
- this builder
-
timeIntervalEnd
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder timeIntervalEnd(Date timeIntervalEnd)
The end timestamp that was passed into the request.- Parameters:
timeIntervalEnd
- the value to set- Returns:
- this builder
-
highUtilizationThreshold
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder highUtilizationThreshold(Integer highUtilizationThreshold)
Percent value in which a resource metric is considered highly utilized.- Parameters:
highUtilizationThreshold
- the value to set- Returns:
- this builder
-
lowUtilizationThreshold
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder lowUtilizationThreshold(Integer lowUtilizationThreshold)
Percent value in which a resource metric is considered lowly utilized.- Parameters:
lowUtilizationThreshold
- the value to set- Returns:
- this builder
-
resourceMetric
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder resourceMetric(SummarizeHostInsightResourceCapacityTrendAggregationCollection.ResourceMetric resourceMetric)
Defines the type of resource metric (CPU, Physical Memory, Logical Memory)- Parameters:
resourceMetric
- the value to set- Returns:
- this builder
-
usageUnit
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder usageUnit(SummarizeHostInsightResourceCapacityTrendAggregationCollection.UsageUnit usageUnit)
Displays usage unit ( CORES, GB , PERCENT, MBPS)- Parameters:
usageUnit
- the value to set- Returns:
- this builder
-
itemDurationInMs
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder itemDurationInMs(Long itemDurationInMs)
Time duration in milliseconds between data points (one hour or one day).- Parameters:
itemDurationInMs
- the value to set- Returns:
- this builder
-
capacityData
public SummarizeHostInsightResourceCapacityTrendAggregationCollection.Builder capacityData(List<HostResourceCapacityTrendAggregation> capacityData)
Capacity Data with timestamp.- Parameters:
capacityData
- the value to set- Returns:
- this builder
-
build
public SummarizeHostInsightResourceCapacityTrendAggregationCollection build()
-
-