Package com.oracle.bmc.apmconfig.model
Class Metric.Builder
- java.lang.Object
- 
- com.oracle.bmc.apmconfig.model.Metric.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Metricbuild()Metric.Buildercopy(Metric model)Metric.Builderdescription(String description)A description of the metric.Metric.Buildername(String name)The name of the metric.Metric.Builderunit(String unit)The unit of the metric.Metric.BuildervalueSource(String valueSource)This must not be set.
 
- 
- 
- 
Method Detail- 
namepublic Metric.Builder name(String name) The name of the metric.This must be a known metric name. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
valueSourcepublic Metric.Builder valueSource(String valueSource) This must not be set.- Parameters:
- valueSource- the value to set
- Returns:
- this builder
 
 - 
unitpublic Metric.Builder unit(String unit) The unit of the metric.- Parameters:
- unit- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Metric.Builder description(String description) A description of the metric.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
buildpublic Metric build() 
 - 
copypublic Metric.Builder copy(Metric model) 
 
- 
 
-