Package io.dapr.client.domain
Class BulkPublishEntry<T>
- java.lang.Object
-
- io.dapr.client.domain.BulkPublishEntry<T>
-
- Type Parameters:
T
- Type of the event that is part of the request.
public final class BulkPublishEntry<T> extends Object
Class representing an entry in the BulkPublishRequest or BulkPublishResponse.
-
-
Constructor Summary
Constructors Constructor Description BulkPublishEntry(String entryId, T event, String contentType)
Constructor for the BulkPublishRequestEntry object.BulkPublishEntry(String entryId, T event, String contentType, Map<String,String> metadata)
Constructor for the BulkPublishRequestEntry object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
String
getEntryId()
T
getEvent()
Map<String,String>
getMetadata()
-
-
-
Constructor Detail
-
BulkPublishEntry
public BulkPublishEntry(String entryId, T event, String contentType)
Constructor for the BulkPublishRequestEntry object.- Parameters:
entryId
- A request scoped ID uniquely identifying this entry in the BulkPublishRequest.event
- Event to be published.contentType
- Content Type of the event to be published in MIME format.
-
BulkPublishEntry
public BulkPublishEntry(String entryId, T event, String contentType, Map<String,String> metadata)
Constructor for the BulkPublishRequestEntry object.- Parameters:
entryId
- A request scoped ID uniquely identifying this entry in the BulkPublishRequest.event
- Event to be published.contentType
- Content Type of the event to be published in MIME format.metadata
- Metadata for the event.
-
-