public static class IndexedMessageBody.IndexedMessageBodyBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
content |
java.util.Map<java.lang.String,java.lang.Object> |
data |
java.util.Map<java.lang.String,Keyword> |
headers |
Keyword |
messageId |
java.lang.String |
preview |
java.util.List<Keyword> |
references |
Keyword |
subject |
java.lang.String |
uid |
Constructor and Description |
---|
IndexedMessageBodyBuilder(java.lang.String uid) |
Modifier and Type | Method and Description |
---|---|
IndexedMessageBody |
build() |
IndexedMessageBody.IndexedMessageBodyBuilder |
content(java.util.List<java.lang.String> content) |
IndexedMessageBody.IndexedMessageBodyBuilder |
data(java.util.Map<java.lang.String,java.lang.Object> data) |
IndexedMessageBody.IndexedMessageBodyBuilder |
headers(java.util.Map<java.lang.String,Keyword> headers) |
IndexedMessageBody.IndexedMessageBodyBuilder |
messageId(Keyword messageId) |
IndexedMessageBody.IndexedMessageBodyBuilder |
preview(java.lang.String preview) |
IndexedMessageBody.IndexedMessageBodyBuilder |
references(java.util.List<Keyword> references) |
IndexedMessageBody.IndexedMessageBodyBuilder |
subject(Keyword subject) |
public java.util.List<java.lang.String> content
public java.util.Map<java.lang.String,java.lang.Object> data
public java.util.Map<java.lang.String,Keyword> headers
public Keyword subject
public Keyword messageId
public java.util.List<Keyword> references
public java.lang.String preview
public final java.lang.String uid
public IndexedMessageBody.IndexedMessageBodyBuilder subject(Keyword subject)
public IndexedMessageBody.IndexedMessageBodyBuilder content(java.util.List<java.lang.String> content)
public IndexedMessageBody.IndexedMessageBodyBuilder headers(java.util.Map<java.lang.String,Keyword> headers)
public IndexedMessageBody.IndexedMessageBodyBuilder data(java.util.Map<java.lang.String,java.lang.Object> data)
public IndexedMessageBody.IndexedMessageBodyBuilder preview(java.lang.String preview)
public IndexedMessageBody.IndexedMessageBodyBuilder messageId(Keyword messageId)
public IndexedMessageBody.IndexedMessageBodyBuilder references(java.util.List<Keyword> references)
public IndexedMessageBody build()
Copyright © 2021. All Rights Reserved.