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 SummaryAll 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- 
getPayloadpublic byte[] getPayload() Gets the payload of the IncomingPublishEvent.- Returns:
- Payload of the IncomingPublishEvent.
 
 - 
getTopicpublic String getTopic() Gets the topic of the IncomingPublishEvent.- Returns:
- Topic of the IncomingPublishEvent.
 
 - 
getContentTypepublic String getContentType() Gets the content type of the IncomingPublishEvent.- Returns:
- Content type of the IncomingPublishEvent.
 
 - 
getUserPropertiespublic List<UserProperty> getUserProperties() Gets the user properties of the IncomingPublishEvent.- Returns:
- User properties of the IncomingPublishEvent.
 
 - 
getMessageExpiryIntervalSecondspublic Long getMessageExpiryIntervalSeconds() Gets the message expiry interval seconds of the IncomingPublishEvent.- Returns:
- Message expiry interval seconds of the IncomingPublishEvent.
 
 
- 
 
-