类 LedConfig.Builder

  • 封闭类:
    LedConfig

    public static class LedConfig.Builder
    extends java.lang.Object
    The type Builder.
    • 构造器详细资料

      • Builder

        public Builder()
    • 方法详细资料

      • setAction

        public LedConfig.Builder setAction​(LedAction action)
        Sets action.
        参数:
        action - the action
        返回:
        the action
      • setRed

        public LedConfig.Builder setRed​(byte red)
        Sets red.
        参数:
        red - the red
        返回:
        the red
      • setGreen

        public LedConfig.Builder setGreen​(byte green)
        Sets green.
        参数:
        green - the green
        返回:
        the green
      • setBlue

        public LedConfig.Builder setBlue​(byte blue)
        Sets blue.
        参数:
        blue - the blue
        返回:
        the blue
      • build

        public LedConfig build()
        Build led config.
        返回:
        the led config