public static interface DoubleSumObserver.Builder extends AsynchronousInstrument.Builder
DoubleSumObserver
.Modifier and Type | Method and Description |
---|---|
DoubleSumObserver |
build()
Builds and returns a
Instrument with the desired options. |
DoubleSumObserver.Builder |
setDescription(java.lang.String description)
Sets the description of the
Instrument . |
DoubleSumObserver.Builder |
setUnit(java.lang.String unit)
Sets the unit of the
Instrument . |
DoubleSumObserver.Builder setDescription(java.lang.String description)
Instrument.Builder
Instrument
.
Default value is ""
.
setDescription
in interface Instrument.Builder
description
- the description of the Instrument.DoubleSumObserver.Builder setUnit(java.lang.String unit)
Instrument.Builder
Instrument
.
Default value is "1"
.
setUnit
in interface Instrument.Builder
unit
- the unit of the Instrument.DoubleSumObserver build()
Instrument.Builder
Instrument
with the desired options.build
in interface AsynchronousInstrument.Builder
build
in interface Instrument.Builder
Instrument
with the desired options.