Class UpdateThingShadowRequest
- java.lang.Object
- 
- software.amazon.awssdk.aws.greengrass.model.UpdateThingShadowRequest
 
- 
- All Implemented Interfaces:
- EventStreamJsonMessage
 
 public class UpdateThingShadowRequest extends Object implements EventStreamJsonMessage 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringAPPLICATION_MODEL_TYPEstatic UpdateThingShadowRequestVOID
 - 
Constructor SummaryConstructors Constructor Description UpdateThingShadowRequest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.byte[]getPayload()The request state document as a JSON encoded blob.StringgetShadowName()The name of the shadow.StringgetThingName()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.UpdateThingShadowRequestwithPayload(byte[] payload)The request state document as a JSON encoded blob.UpdateThingShadowRequestwithShadowName(String shadowName)The name of the shadow.UpdateThingShadowRequestwithThingName(String thingName)The name of the thing.- 
Methods inherited from class java.lang.ObjectgetClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessagefromJson, isVoid, postFromJson, toPayload
 
- 
 
- 
- 
- 
Field Detail- 
APPLICATION_MODEL_TYPEpublic static final String APPLICATION_MODEL_TYPE - See Also:
- Constant Field Values
 
 - 
VOIDpublic static final UpdateThingShadowRequest VOID 
 
- 
 - 
Method Detail- 
getThingNamepublic String getThingName() The name of the thing.
 - 
setThingNamepublic void setThingName(String thingName) The name of the thing.
 - 
withThingNamepublic UpdateThingShadowRequest withThingName(String thingName) The name of the thing.
 - 
getShadowNamepublic String getShadowName() The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
 - 
setShadowNamepublic void setShadowName(String shadowName) The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
 - 
withShadowNamepublic UpdateThingShadowRequest withShadowName(String shadowName) The name of the shadow. To specify the thing's classic shadow, set this parameter to an empty string ("").
 - 
getPayloadpublic byte[] getPayload() The request state document as a JSON encoded blob.
 - 
setPayloadpublic void setPayload(byte[] payload) The request state document as a JSON encoded blob.
 - 
withPayloadpublic UpdateThingShadowRequest withPayload(byte[] payload) The request state document as a JSON encoded blob.
 - 
getApplicationModelTypepublic String getApplicationModelType() Description copied from interface:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
- getApplicationModelTypein interface- EventStreamJsonMessage
- Returns:
- the named model type
 
 
- 
 
-