public static class NamespaceMetric.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NamespaceMetric |
build() |
NamespaceMetric.Builder |
copy(NamespaceMetric model) |
NamespaceMetric.Builder |
name(String name)
Name of the metric.
|
NamespaceMetric.Builder |
type(MetricTypes type)
Type of metric.
|
NamespaceMetric.Builder |
unit(String unit)
Unit of the metric.
|
public NamespaceMetric.Builder name(String name)
Name of the metric.
name
- the value to setpublic NamespaceMetric.Builder type(MetricTypes type)
Type of metric.
type
- the value to setpublic NamespaceMetric.Builder unit(String unit)
Unit of the metric.
unit
- the value to setpublic NamespaceMetric build()
public NamespaceMetric.Builder copy(NamespaceMetric model)
Copyright © 2016–2024. All rights reserved.