Package com.oracle.bmc.opsi.model
Class SummarizeHostInsightResourceStatisticsAggregationCollection.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.SummarizeHostInsightResourceStatisticsAggregationCollection.Builder
-
- Enclosing class:
- SummarizeHostInsightResourceStatisticsAggregationCollection
public static class SummarizeHostInsightResourceStatisticsAggregationCollection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
timeIntervalStart
public SummarizeHostInsightResourceStatisticsAggregationCollection.Builder timeIntervalStart(Date timeIntervalStart)
The start timestamp that was passed into the request.- Parameters:
timeIntervalStart
- the value to set- Returns:
- this builder
-
timeIntervalEnd
public SummarizeHostInsightResourceStatisticsAggregationCollection.Builder timeIntervalEnd(Date timeIntervalEnd)
The end timestamp that was passed into the request.- Parameters:
timeIntervalEnd
- the value to set- Returns:
- this builder
-
highUtilizationThreshold
public SummarizeHostInsightResourceStatisticsAggregationCollection.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 SummarizeHostInsightResourceStatisticsAggregationCollection.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 SummarizeHostInsightResourceStatisticsAggregationCollection.Builder resourceMetric(SummarizeHostInsightResourceStatisticsAggregationCollection.ResourceMetric resourceMetric)
Defines the type of resource metric (CPU, Physical Memory, Logical Memory)- Parameters:
resourceMetric
- the value to set- Returns:
- this builder
-
usageUnit
public SummarizeHostInsightResourceStatisticsAggregationCollection.Builder usageUnit(SummarizeHostInsightResourceStatisticsAggregationCollection.UsageUnit usageUnit)
Displays usage unit ( CORES, GB , PERCENT, MBPS)- Parameters:
usageUnit
- the value to set- Returns:
- this builder
-
items
public SummarizeHostInsightResourceStatisticsAggregationCollection.Builder items(List<HostInsightResourceStatisticsAggregation> items)
Collection of Resource Statistics items- Parameters:
items
- the value to set- Returns:
- this builder
-
build
public SummarizeHostInsightResourceStatisticsAggregationCollection build()
-
-