Class ExadataFleetMetricDefinition.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.model.ExadataFleetMetricDefinition.Builder
-
- Enclosing class:
- ExadataFleetMetricDefinition
public static class ExadataFleetMetricDefinition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
metricName
public ExadataFleetMetricDefinition.Builder metricName(String metricName)
The name of the metric.- Parameters:
metricName- the value to set- Returns:
- this builder
-
baselineValue
public ExadataFleetMetricDefinition.Builder baselineValue(Double baselineValue)
The baseline value of the metric.- Parameters:
baselineValue- the value to set- Returns:
- this builder
-
targetValue
public ExadataFleetMetricDefinition.Builder targetValue(Double targetValue)
The target value of the metric.- Parameters:
targetValue- the value to set- Returns:
- this builder
-
unit
public ExadataFleetMetricDefinition.Builder unit(String unit)
The unit of the value.- Parameters:
unit- the value to set- Returns:
- this builder
-
timestamp
public ExadataFleetMetricDefinition.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
-
percentageChange
public ExadataFleetMetricDefinition.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 ExadataFleetMetricDefinition.Builder dimensions(List<ExadataMetricDimensionDefinition> dimensions)
The dimensions of the metric.- Parameters:
dimensions- the value to set- Returns:
- this builder
-
build
public ExadataFleetMetricDefinition build()
-
copy
public ExadataFleetMetricDefinition.Builder copy(ExadataFleetMetricDefinition model)
-
-