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