Class FleetMetricSummaryDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.FleetMetricSummaryDefinition.Builder
-
- Enclosing class:
- FleetMetricSummaryDefinition
public static class FleetMetricSummaryDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FleetMetricSummaryDefinition.BuilderbaselineValue(Double baselineValue)The metric aggregated value at the baseline date and time.FleetMetricSummaryDefinitionbuild()FleetMetricSummaryDefinition.Buildercopy(FleetMetricSummaryDefinition model)FleetMetricSummaryDefinition.Builderdimensions(List<MetricDimensionDefinition> dimensions)The unique dimension key and values of the baseline metric.FleetMetricSummaryDefinition.BuildermetricName(String metricName)The name of the metric.FleetMetricSummaryDefinition.BuilderpercentageChange(Double percentageChange)The percentage change in the metric aggregated value compared to the baseline value.FleetMetricSummaryDefinition.BuildertargetValue(Double targetValue)The metric aggregated value at the target date and time.FleetMetricSummaryDefinition.Builderunit(String unit)The unit of the value.
-
-
-
Method Detail
-
metricName
public FleetMetricSummaryDefinition.Builder metricName(String metricName)
The name of the metric.- Parameters:
metricName- the value to set- Returns:
- this builder
-
baselineValue
public FleetMetricSummaryDefinition.Builder baselineValue(Double baselineValue)
The metric aggregated value at the baseline date and time.- Parameters:
baselineValue- the value to set- Returns:
- this builder
-
targetValue
public FleetMetricSummaryDefinition.Builder targetValue(Double targetValue)
The metric aggregated value at the target date and time.- Parameters:
targetValue- the value to set- Returns:
- this builder
-
unit
public FleetMetricSummaryDefinition.Builder unit(String unit)
The unit of the value.- Parameters:
unit- the value to set- Returns:
- this builder
-
percentageChange
public FleetMetricSummaryDefinition.Builder percentageChange(Double percentageChange)
The percentage change in the metric aggregated value compared to the baseline value.- Parameters:
percentageChange- the value to set- Returns:
- this builder
-
dimensions
public FleetMetricSummaryDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions)
The unique dimension key and values of the baseline metric.- Parameters:
dimensions- the value to set- Returns:
- this builder
-
build
public FleetMetricSummaryDefinition build()
-
copy
public FleetMetricSummaryDefinition.Builder copy(FleetMetricSummaryDefinition model)
-
-