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