public class UpdateThingShadowRequest extends AmazonWebServiceRequest implements Serializable
Updates the thing shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
| Constructor and Description |
|---|
UpdateThingShadowRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getPayload()
The state information, in JSON format.
|
String |
getThingName()
The name of the thing.
|
int |
hashCode() |
void |
setPayload(ByteBuffer payload)
The state information, in JSON format.
|
void |
setThingName(String thingName)
The name of the thing.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateThingShadowRequest |
withPayload(ByteBuffer payload)
The state information, in JSON format.
|
UpdateThingShadowRequest |
withThingName(String thingName)
The name of the thing.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getThingName()
The name of the thing.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name of the thing.
public void setThingName(String thingName)
The name of the thing.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
thingName - The name of the thing.
public UpdateThingShadowRequest withThingName(String thingName)
The name of the thing.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
thingName - The name of the thing.
public ByteBuffer getPayload()
The state information, in JSON format.
The state information, in JSON format.
public void setPayload(ByteBuffer payload)
The state information, in JSON format.
payload - The state information, in JSON format.
public UpdateThingShadowRequest withPayload(ByteBuffer payload)
The state information, in JSON format.
Returns a reference to this object so that method calls can be chained together.
payload - The state information, in JSON format.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.