Interface InstrumentBuilder

    • Method Detail

      • setDescription

        InstrumentBuilder setDescription​(String description)
        Sets the description of the Instrument.

        Default value is "".

        Parameters:
        description - the description of the Instrument.
        Returns:
        this.
      • setUnit

        InstrumentBuilder setUnit​(String unit)
        Sets the unit of the Instrument.

        Default value is "1".

        Parameters:
        unit - the unit of the Instrument.
        Returns:
        this.
      • build

        Instrument build()
        Builds and returns a Instrument with the desired options.
        Returns:
        a Instrument with the desired options.