public class UpdateThingShadowRequest extends AmazonWebServiceRequest implements Serializable
UpdateThingShadow operation.
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.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getThingName()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
public void setThingName(String thingName)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
thingName - The name of the thing.public UpdateThingShadowRequest withThingName(String thingName)
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()
public void setPayload(ByteBuffer payload)
payload - The state information, in JSON format.public UpdateThingShadowRequest withPayload(ByteBuffer payload)
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 © 2016. All rights reserved.