Class TextSample.Builder
- java.lang.Object
-
- org.hawkular.agent.prometheus.types.Metric.Builder<TextSample.Builder>
-
- org.hawkular.agent.prometheus.text.TextSample.Builder
-
- Enclosing class:
- TextSample
public static class TextSample.Builder extends Metric.Builder<TextSample.Builder>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextSample
build()
TextSample.Builder
setLine(java.lang.String line)
TextSample.Builder
setValue(java.lang.String value)
-
Methods inherited from class org.hawkular.agent.prometheus.types.Metric.Builder
addLabel, addLabels, setName
-
-
-
-
Method Detail
-
build
public TextSample build()
- Specified by:
build
in classMetric.Builder<TextSample.Builder>
-
setValue
public TextSample.Builder setValue(java.lang.String value)
-
setLine
public TextSample.Builder setLine(java.lang.String line)
-
-