Class FleetMetricDefinition.Builder
- java.lang.Object
- 
- com.oracle.bmc.databasemanagement.model.FleetMetricDefinition.Builder
 
- 
- Enclosing class:
- FleetMetricDefinition
 
 public static class FleetMetricDefinition.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description FleetMetricDefinition.BuilderbaselineValue(Double baselineValue)The baseline value of the metric.FleetMetricDefinitionbuild()FleetMetricDefinition.Buildercopy(FleetMetricDefinition model)FleetMetricDefinition.Builderdimensions(List<MetricDimensionDefinition> dimensions)The dimensions of the metric.FleetMetricDefinition.BuildermetricName(String metricName)The name of the metric.FleetMetricDefinition.BuilderpercentageChange(Double percentageChange)The percentage change in the metric aggregated value compared to the baseline value.FleetMetricDefinition.BuildertargetValue(Double targetValue)The target value of the metric.FleetMetricDefinition.Buildertimestamp(Date timestamp)The data point date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.FleetMetricDefinition.Builderunit(String unit)The unit of the value.
 
- 
- 
- 
Method Detail- 
metricNamepublic FleetMetricDefinition.Builder metricName(String metricName) The name of the metric.- Parameters:
- metricName- the value to set
- Returns:
- this builder
 
 - 
baselineValuepublic FleetMetricDefinition.Builder baselineValue(Double baselineValue) The baseline value of the metric.- Parameters:
- baselineValue- the value to set
- Returns:
- this builder
 
 - 
targetValuepublic FleetMetricDefinition.Builder targetValue(Double targetValue) The target value of the metric.- Parameters:
- targetValue- the value to set
- Returns:
- this builder
 
 - 
unitpublic FleetMetricDefinition.Builder unit(String unit) The unit of the value.- Parameters:
- unit- the value to set
- Returns:
- this builder
 
 - 
timestamppublic FleetMetricDefinition.Builder timestamp(Date timestamp) The data point date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”.- Parameters:
- timestamp- the value to set
- Returns:
- this builder
 
 - 
percentageChangepublic FleetMetricDefinition.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
 
 - 
dimensionspublic FleetMetricDefinition.Builder dimensions(List<MetricDimensionDefinition> dimensions) The dimensions of the metric.- Parameters:
- dimensions- the value to set
- Returns:
- this builder
 
 - 
buildpublic FleetMetricDefinition build() 
 - 
copypublic FleetMetricDefinition.Builder copy(FleetMetricDefinition model) 
 
- 
 
-