Class GetThingShadowResponse
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.GetThingShadowResponse
- All Implemented Interfaces:
EventStreamJsonMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the named model type.byte[]The response state document as a JSON encoded blob.inthashCode()voidsetPayload(byte[] payload) The response state document as a JSON encoded blob.withPayload(byte[] payload) The response state document as a JSON encoded blob.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
-
GetThingShadowResponse
public GetThingShadowResponse()
-
-
Method Details
-
getPayload
public byte[] getPayload()The response state document as a JSON encoded blob. -
setPayload
public void setPayload(byte[] payload) The response state document as a JSON encoded blob. -
withPayload
The response 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()
-