Class BulkSubscribeMessageEntry<T>

  • Type Parameters:
    T - Type of event.

    public final class BulkSubscribeMessageEntry<T>
    extends Object
    Represents a single event from a BulkSubscribeMessage.
    • Constructor Detail

      • BulkSubscribeMessageEntry

        public BulkSubscribeMessageEntry​(String entryId,
                                         T event,
                                         String contentType,
                                         Map<String,​String> metadata)
        Instantiate a BulkPubSubMessageEntry.
        Parameters:
        entryId - unique identifier for the event.
        event - pubSub event.
        contentType - content type of the event.
        metadata - metadata for the event.
    • Method Detail

      • getEntryId

        public String getEntryId()
      • getEvent

        public T getEvent()
      • getContentType

        public String getContentType()