com.h3c.sdn.metric

## Class GaugeMetricValue.Builder<T extends GaugeMetricValue.Builder<T>>

- java.lang.Object
- - com.h3c.sdn.metric.MetricValue.Builder<T>
  - - com.h3c.sdn.metric.GaugeMetricValue.Builder<T>

- Type Parameters:
    `T` - specific metric value sub class
  Enclosing class:
    GaugeMetricValue

      public abstract static class GaugeMetricValue.Builder<T extends GaugeMetricValue.Builder<T>>
      extends MetricValue.Builder<T>

  Builder (mutable) used to create a new value instances.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GaugeMetricValue.Builder()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `GaugeMetricValue` | `build()`
    `T` | `doubleValue(double value)` Sets the mean.

    - ### Methods inherited from class com.h3c.sdn.metric.MetricValue.Builder

      `count, millisecondsSpan, persistDate, self, type, uid, updateDate`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GaugeMetricValue.Builder

          public GaugeMetricValue.Builder()

  - ### Method Detail

    - #### doubleValue

          public T doubleValue(double value)

      Sets the mean.
      Parameters:
        `value` - the double value
      Returns:
        this instance

    - #### build

          public GaugeMetricValue build()

      Overrides:
        `build` in class `MetricValue.Builder<T extends GaugeMetricValue.Builder<T>>`

Copyright © 2014. All Rights Reserved.