Class MessageContext
java.lang.Object
software.amazon.awssdk.aws.greengrass.model.MessageContext
- All Implemented Interfaces:
EventStreamJsonMessage
Contextual information about the message.
NOTE The context is ignored if used in PublishMessage.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
-
MessageContext
public MessageContext()
-
-
Method Details
-
getTopic
The topic where the message was published. -
setTopic
The topic where the message was published. -
withTopic
The topic where the message was published. -
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()
-