Package com.oracle.bmc.apmconfig.model
Class NamespaceMetric.Builder
- java.lang.Object
-
- com.oracle.bmc.apmconfig.model.NamespaceMetric.Builder
-
- Enclosing class:
- NamespaceMetric
public static class NamespaceMetric.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamespaceMetricbuild()NamespaceMetric.Buildercopy(NamespaceMetric model)NamespaceMetric.Buildername(String name)Name of the metric.NamespaceMetric.Buildertype(MetricTypes type)Type of metric.NamespaceMetric.Builderunit(String unit)Unit of the metric.
-
-
-
Method Detail
-
name
public NamespaceMetric.Builder name(String name)
Name of the metric.- Parameters:
name- the value to set- Returns:
- this builder
-
type
public NamespaceMetric.Builder type(MetricTypes type)
Type of metric.- Parameters:
type- the value to set- Returns:
- this builder
-
unit
public NamespaceMetric.Builder unit(String unit)
Unit of the metric.- Parameters:
unit- the value to set- Returns:
- this builder
-
build
public NamespaceMetric build()
-
copy
public NamespaceMetric.Builder copy(NamespaceMetric model)
-
-