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