public class IoTCoreMessage extends Object implements EventStreamJsonMessage
| Modifier and Type | Class and Description |
|---|---|
static class |
IoTCoreMessage.UnionMember |
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_MODEL_TYPE |
| Constructor and Description |
|---|
IoTCoreMessage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
String |
getApplicationModelType()
Returns the named model type.
|
MQTTMessage |
getMessage() |
IoTCoreMessage.UnionMember |
getSetUnionMember()
Returns an indicator for which enum member is set.
|
int |
hashCode() |
void |
postFromJson()
If anything needs to be done in memory after parsing from JSON, override and perform it here
|
void |
selfDesignateSetUnionMember() |
void |
setMessage(MQTTMessage message) |
IoTCoreMessage |
withMessage(MQTTMessage message) |
getClass, notify, notifyAll, toString, wait, wait, waitfromJson, isVoid, toPayloadpublic static final String APPLICATION_MODEL_TYPE
public MQTTMessage getMessage()
public void setMessage(MQTTMessage message)
public IoTCoreMessage withMessage(MQTTMessage message)
public IoTCoreMessage.UnionMember getSetUnionMember()
public String getApplicationModelType()
EventStreamJsonMessagegetApplicationModelType in interface EventStreamJsonMessagepublic void selfDesignateSetUnionMember()
public void postFromJson()
EventStreamJsonMessagepostFromJson in interface EventStreamJsonMessageCopyright ? 2021. All rights reserved.