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