Package com.oracle.bmc.monitoring.model
Class Datapoint.Builder
- java.lang.Object
- 
- com.oracle.bmc.monitoring.model.Datapoint.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Datapointbuild()Datapoint.Buildercopy(Datapoint model)Datapoint.Buildercount(Integer count)The number of occurrences of the associated value in the set of data.Datapoint.Buildertimestamp(Date timestamp)Timestamp for this metric value.Datapoint.Buildervalue(Double value)Numeric value of the metric.
 
- 
- 
- 
Method Detail- 
timestamppublic Datapoint.Builder timestamp(Date timestamp) Timestamp for this metric value.Format defined by RFC3339. For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future). Example: 2023-02-01T01:02:29.600Z - Parameters:
- timestamp- the value to set
- Returns:
- this builder
 
 - 
valuepublic Datapoint.Builder value(Double value) Numeric value of the metric.Example: 10.23 - Parameters:
- value- the value to set
- Returns:
- this builder
 
 - 
countpublic Datapoint.Builder count(Integer count) The number of occurrences of the associated value in the set of data.Default is 1. Value must be greater than zero. - Parameters:
- count- the value to set
- Returns:
- this builder
 
 - 
buildpublic Datapoint build() 
 - 
copypublic Datapoint.Builder copy(Datapoint model) 
 
- 
 
-