Class SummarizedMetricData.Builder
- java.lang.Object
- 
- com.oracle.bmc.ocicontrolcenter.model.SummarizedMetricData.Builder
 
- 
- Enclosing class:
- SummarizedMetricData
 
 public static class SummarizedMetricData.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SummarizedMetricData.BuilderaggregatedValue(Float aggregatedValue)The aggregated metric value for the specified request.SummarizedMetricData.BuilderaggregationMethod(String aggregationMethod)The aggregation method used for aggregating the metric values.SummarizedMetricDatabuild()SummarizedMetricData.Buildercopy(SummarizedMetricData model)SummarizedMetricData.Builderdimensions(Map<String,DimensionValue> dimensions)Qualifiers provided in the definition of the returned metric.SummarizedMetricData.Builderresolution(String resolution)The duration over which the metric data is aggregated.SummarizedMetricData.BuildersampleTime(Date sampleTime)The time at which the metric data was recorded.
 
- 
- 
- 
Method Detail- 
sampleTimepublic SummarizedMetricData.Builder sampleTime(Date sampleTime) The time at which the metric data was recorded.- Parameters:
- sampleTime- the value to set
- Returns:
- this builder
 
 - 
resolutionpublic SummarizedMetricData.Builder resolution(String resolution) The duration over which the metric data is aggregated.Supported values: 1m-60m, 1h-24h, 1d. - Parameters:
- resolution- the value to set
- Returns:
- this builder
 
 - 
dimensionspublic SummarizedMetricData.Builder dimensions(Map<String,DimensionValue> dimensions) Qualifiers provided in the definition of the returned metric.Available dimensions vary by metric namespace. - Parameters:
- dimensions- the value to set
- Returns:
- this builder
 
 - 
aggregationMethodpublic SummarizedMetricData.Builder aggregationMethod(String aggregationMethod) The aggregation method used for aggregating the metric values.The aggregation method depends on the metric itself. - Parameters:
- aggregationMethod- the value to set
- Returns:
- this builder
 
 - 
aggregatedValuepublic SummarizedMetricData.Builder aggregatedValue(Float aggregatedValue) The aggregated metric value for the specified request.- Parameters:
- aggregatedValue- the value to set
- Returns:
- this builder
 
 - 
buildpublic SummarizedMetricData build() 
 - 
copypublic SummarizedMetricData.Builder copy(SummarizedMetricData model) 
 
- 
 
-