Class UpdateThingShadowRequest
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.UpdateThingShadowRequest
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.byte[]The request state document as a JSON encoded blob.The name of the shadow.The name of the thing.inthashCode()voidsetPayload(byte[] payload) The request state document as a JSON encoded blob.voidsetShadowName(String shadowName) The name of the shadow.voidsetThingName(String thingName) The name of the thing.withPayload(byte[] payload) The request state document as a JSON encoded blob.withShadowName(String shadowName) The name of the shadow.withThingName(String thingName) The name of the thing.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
Field Details
-
APPLICATION_MODEL_TYPE
- See Also:
-
VOID
-
-
Constructor Details
-
UpdateThingShadowRequest
public UpdateThingShadowRequest()
-
-
Method Details
-
getThingName
The name of the thing. -
setThingName
The name of the thing. -
withThingName
The name of the thing. -
getShadowName
The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string (""). -
setShadowName
The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string (""). -
withShadowName
The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string (""). -
getPayload
public byte[] getPayload()The request state document as a JSON encoded blob. -
setPayload
public void setPayload(byte[] payload) The request state document as a JSON encoded blob. -
withPayload
The request state document as a JSON encoded blob. -
getApplicationModelType
Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
equals
-
hashCode
public int hashCode()
-