Interface ImmutableMetricDescriptor.BuildFinal
-
- All Known Implementing Classes:
ImmutableMetricDescriptor.Builder
- Enclosing class:
- ImmutableMetricDescriptor
public static interface ImmutableMetricDescriptor.BuildFinal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImmutableMetricDescriptor
build()
Builds a newImmutableMetricDescriptor
.ImmutableMetricDescriptor.BuildFinal
description(String description)
Initializes the value for thedescription
attribute.
-
-
-
Method Detail
-
description
ImmutableMetricDescriptor.BuildFinal description(String description)
Initializes the value for thedescription
attribute.If not set, this attribute will have a default value as returned by the initializer of
description
.- Parameters:
description
- The value for description- Returns:
this
builder for use in a chained invocation
-
build
ImmutableMetricDescriptor build()
Builds a newImmutableMetricDescriptor
.- Returns:
- An immutable instance of MetricDescriptor
- Throws:
IllegalStateException
- if any required attributes are missing
-
-