Class SummarizedMetricData.Builder
- java.lang.Object
 - 
- com.oracle.bmc.ocicontrolcenter.model.SummarizedMetricData.Builder
 
 
- 
- Enclosing class:
 - SummarizedMetricData
 
public static class SummarizedMetricData.Builder extends Object
 
- 
- 
Constructor Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All 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
- 
sampleTime
public SummarizedMetricData.Builder sampleTime(Date sampleTime)
The time at which the metric data was recorded.- Parameters:
 sampleTime- the value to set- Returns:
 - this builder
 
 
- 
resolution
public 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
 
 
- 
dimensions
public 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
 
 
- 
aggregationMethod
public 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
 
 
- 
aggregatedValue
public SummarizedMetricData.Builder aggregatedValue(Float aggregatedValue)
The aggregated metric value for the specified request.- Parameters:
 aggregatedValue- the value to set- Returns:
 - this builder
 
 
- 
build
public SummarizedMetricData build()
 
- 
copy
public SummarizedMetricData.Builder copy(SummarizedMetricData model)
 
 - 
 
 -