public static class Thing.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Thing |
build() |
Thing.Builder |
setControlRequestHandler(ThingControlRequest controlRequest) |
Thing.Builder |
setKey(String key) |
Thing.Builder |
setManufacturer(String manufacturer) |
Thing.Builder |
setModel(String model) |
Thing.Builder |
setMomentaryReadOutRequestHandler(ThingMomentaryReadOutRequest momentaryReadOutRequestHandler) |
Thing.Builder |
setSerialNumber(String sn) |
Thing.Builder |
setVersion(String version) |
public Builder()
public Thing.Builder setSerialNumber(String sn)
public Thing.Builder setKey(String key)
public Thing.Builder setManufacturer(String manufacturer)
public Thing.Builder setModel(String model)
public Thing.Builder setVersion(String version)
public Thing.Builder setMomentaryReadOutRequestHandler(ThingMomentaryReadOutRequest momentaryReadOutRequestHandler)
public Thing.Builder setControlRequestHandler(ThingControlRequest controlRequest)