Interface DeviceTemplate.Builder

  • Method Details

    • deviceType

      DeviceTemplate.Builder deviceType(String deviceType)

      The device type, which currently must be "button".

      Parameters:
      deviceType - The device type, which currently must be "button".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callbackOverrides

      DeviceTemplate.Builder callbackOverrides(Map<String,String> callbackOverrides)

      An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.

      Parameters:
      callbackOverrides - An optional Lambda function to invoke instead of the default Lambda function provided by the placement template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.