Package org.jivesoftware.smackx.iot
Class Thing.Builder
- java.lang.Object
-
- org.jivesoftware.smackx.iot.Thing.Builder
-
- Enclosing class:
- Thing
public static class Thing.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
-
Method Detail
-
setSerialNumber
public Thing.Builder setSerialNumber(String sn)
-
setKey
public Thing.Builder setKey(String key)
-
setManufacturer
public Thing.Builder setManufacturer(String manufacturer)
-
setModel
public Thing.Builder setModel(String model)
-
setVersion
public Thing.Builder setVersion(String version)
-
setMomentaryReadOutRequestHandler
public Thing.Builder setMomentaryReadOutRequestHandler(ThingMomentaryReadOutRequest momentaryReadOutRequestHandler)
-
setControlRequestHandler
public Thing.Builder setControlRequestHandler(ThingControlRequest controlRequest)
-
-