Returns an immutable instance of [CustomChartMetricScalar].
public CustomChartMetricScalar build()Returns an immutable instance of [CustomChartMetricScalar]. Further updates to this [Builder] will not mutate the returned instance. The following fields are required:
.field()
.type()
IllegalStateException: if any required field is unset.