Builder to construct an Indexable
for a message.
For reference, see: //schema.org/Message.
Public Method Summary
| MessageBuilder | |
| MessageBuilder | |
| MessageBuilder | |
| MessageBuilder | |
| MessageBuilder | |
| MessageBuilder | |
| MessageBuilder |
Inherited Method Summary
Public Methods
public MessageBuilder setDateRead (Date dateRead)
Sets the date on which the message was read.
Parameters
| dateRead | The date on which the message was read. |
|---|
public MessageBuilder setDateReceived (Date dateReceived)
Sets the date on which the message was received.
Parameters
| dateReceived | The date on which the message was received. |
|---|
public MessageBuilder setDateSent (Date dateSent)
Sets the date on which the message was sent.
Parameters
| dateSent | The date on which the message was sent. |
|---|
public MessageBuilder setMessageAttachment (IndexableBuilder...<?> attachments)
Sets the attachments of the message.
Parameters
| attachments | The attachments of the message. |
|---|
public MessageBuilder setRecipient (PersonBuilder... recipients)
Sets the recipients of the message.
Parameters
| recipients | The recipients of the message. |
|---|
public MessageBuilder setSender (PersonBuilder sender)
Sets the sender of the message.
Parameters
| sender | The sender of the message. |
|---|
public MessageBuilder setText (String text)
Sets the textual content of the message.
Parameters
| text | The textual content of the message. |
|---|