Package com.oracle.bmc.monitoring.model
Class AggregatedDatapoint.Builder
- java.lang.Object
-
- com.oracle.bmc.monitoring.model.AggregatedDatapoint.Builder
-
- Enclosing class:
- AggregatedDatapoint
public static class AggregatedDatapoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregatedDatapointbuild()AggregatedDatapoint.Buildercopy(AggregatedDatapoint model)AggregatedDatapoint.Buildertimestamp(Date timestamp)The date and time associated with the value of this data point.AggregatedDatapoint.Buildervalue(Double value)Numeric value of the metric.
-
-
-
Method Detail
-
timestamp
public AggregatedDatapoint.Builder timestamp(Date timestamp)
The date and time associated with the value of this data point.Format defined by RFC3339.
Example: 2023-02-01T01:02:29.600Z
- Parameters:
timestamp- the value to set- Returns:
- this builder
-
value
public AggregatedDatapoint.Builder value(Double value)
Numeric value of the metric.Example: 10.4
- Parameters:
value- the value to set- Returns:
- this builder
-
build
public AggregatedDatapoint build()
-
copy
public AggregatedDatapoint.Builder copy(AggregatedDatapoint model)
-
-