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