Package com.oracle.bmc.cloudbridge.model
Class HistoricalMetricSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.HistoricalMetricSummary.Builder
-
- Enclosing class:
- HistoricalMetricSummary
public static class HistoricalMetricSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricalMetricSummary.Builderaggregation(String aggregation)Aggregation time interval.HistoricalMetricSummarybuild()HistoricalMetricSummary.Buildercopy(HistoricalMetricSummary model)HistoricalMetricSummary.Buildername(String name)Metric name.HistoricalMetricSummary.BuildertimeCreated(Date timeCreated)The time the HistoricalMetric was created.HistoricalMetricSummary.BuildertimeUpdated(Date timeUpdated)The time the HistoricalMetric was updated.HistoricalMetricSummary.Buildervalue(Float value)Aggregation value.
-
-
-
Method Detail
-
name
public HistoricalMetricSummary.Builder name(String name)
Metric name.- Parameters:
name- the value to set- Returns:
- this builder
-
aggregation
public HistoricalMetricSummary.Builder aggregation(String aggregation)
Aggregation time interval.- Parameters:
aggregation- the value to set- Returns:
- this builder
-
value
public HistoricalMetricSummary.Builder value(Float value)
Aggregation value.- Parameters:
value- the value to set- Returns:
- this builder
-
timeCreated
public HistoricalMetricSummary.Builder timeCreated(Date timeCreated)
The time the HistoricalMetric was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public HistoricalMetricSummary.Builder timeUpdated(Date timeUpdated)
The time the HistoricalMetric was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
build
public HistoricalMetricSummary build()
-
copy
public HistoricalMetricSummary.Builder copy(HistoricalMetricSummary model)
-
-