Class DataPoint.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.DataPoint.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataPoint
build()
DataPoint.Builder
copy(DataPoint model)
DataPoint.Builder
timestamp(Date timestamp)
timestamp of when the metric was collectedDataPoint.Builder
value(Double value)
value for the metric data point
-
-
-
Method Detail
-
timestamp
public DataPoint.Builder timestamp(Date timestamp)
timestamp of when the metric was collected- Parameters:
timestamp
- the value to set- Returns:
- this builder
-
value
public DataPoint.Builder value(Double value)
value for the metric data point- Parameters:
value
- the value to set- Returns:
- this builder
-
build
public DataPoint build()
-
copy
public DataPoint.Builder copy(DataPoint model)
-
-