Package software.amazon.awssdk.crt.iot
Class IncomingPublishEvent
- java.lang.Object
-
- software.amazon.awssdk.crt.iot.IncomingPublishEvent
-
public class IncomingPublishEvent extends Object
An event that describes an incoming publish message received on a streaming operation.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()Gets the content type of the IncomingPublishEvent.LonggetMessageExpiryIntervalSeconds()Gets the message expiry interval seconds of the IncomingPublishEvent.byte[]getPayload()Gets the payload of the IncomingPublishEvent.StringgetTopic()Gets the topic of the IncomingPublishEvent.List<UserProperty>getUserProperties()Gets the user properties of the IncomingPublishEvent.
-
-
-
Method Detail
-
getPayload
public byte[] getPayload()
Gets the payload of the IncomingPublishEvent.- Returns:
- Payload of the IncomingPublishEvent.
-
getTopic
public String getTopic()
Gets the topic of the IncomingPublishEvent.- Returns:
- Topic of the IncomingPublishEvent.
-
getContentType
public String getContentType()
Gets the content type of the IncomingPublishEvent.- Returns:
- Content type of the IncomingPublishEvent.
-
getUserProperties
public List<UserProperty> getUserProperties()
Gets the user properties of the IncomingPublishEvent.- Returns:
- User properties of the IncomingPublishEvent.
-
getMessageExpiryIntervalSeconds
public Long getMessageExpiryIntervalSeconds()
Gets the message expiry interval seconds of the IncomingPublishEvent.- Returns:
- Message expiry interval seconds of the IncomingPublishEvent.
-
-