Package software.amazon.awssdk.crt.iot
Class IncomingPublishEvent
java.lang.Object
software.amazon.awssdk.crt.iot.IncomingPublishEvent
An event that describes an incoming publish message received on a streaming operation.
-
Method Summary
Modifier and TypeMethodDescriptionGets the content type of the IncomingPublishEvent.Gets the message expiry interval seconds of the IncomingPublishEvent.byte[]Gets the payload of the IncomingPublishEvent.getTopic()Gets the topic of the IncomingPublishEvent.Gets the user properties of the IncomingPublishEvent.
-
Method Details
-
getPayload
public byte[] getPayload()Gets the payload of the IncomingPublishEvent.- Returns:
- Payload of the IncomingPublishEvent.
-
getTopic
Gets the topic of the IncomingPublishEvent.- Returns:
- Topic of the IncomingPublishEvent.
-
getContentType
Gets the content type of the IncomingPublishEvent.- Returns:
- Content type of the IncomingPublishEvent.
-
getUserProperties
Gets the user properties of the IncomingPublishEvent.- Returns:
- User properties of the IncomingPublishEvent.
-
getMessageExpiryIntervalSeconds
Gets the message expiry interval seconds of the IncomingPublishEvent.- Returns:
- Message expiry interval seconds of the IncomingPublishEvent.
-