public class UpdateThingShadowRequest extends Object
Constructor and Description |
---|
UpdateThingShadowRequest() |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getPayload()
Getter for the payload.
|
String |
getThingName()
Getter for the thing name.
|
void |
setPayload(ByteBuffer payload)
Setter for the payload.
|
void |
setThingName(String thingName)
Setter for the thing name.
|
UpdateThingShadowRequest |
withPayload(ByteBuffer p)
Generate the request with payload.
|
UpdateThingShadowRequest |
withThingName(String name)
Generate the request with thing name.
|
public String getThingName()
public void setThingName(String thingName)
thingName
- the name of the thingpublic ByteBuffer getPayload()
public void setPayload(ByteBuffer payload)
payload
- the payload byte in JSONpublic UpdateThingShadowRequest withThingName(String name)
name
- the name of the thingpublic UpdateThingShadowRequest withPayload(ByteBuffer p)
p
- the payload byte in JSON