Builder to construct an Indexable
for a message.
For reference, see: //schema.org/Message.
Public Method Summary
Inherited Method Summary
final Indexable |
build()
Finalize building the object.
|
T | |
<S extends IndexableBuilder<?>> T | |
T |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
T | |
T | |
T | |
final T | |
T | |
final T | |
final <S extends IndexableBuilder<?>> T |
setIsPartOf(S... collections)
Sets the sub-group or collection that this Indexable is part of.
|
final T | |
T | |
final T | |
final T | |
final T |
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. |
---|