public static class Example.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Example.Builder()
Instantiates a new builder.
|
Example.Builder(java.lang.String text)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
Example.Builder |
addMentions(Mention mentions)
Adds an mentions to mentions.
|
Example |
build()
Builds a Example.
|
Example.Builder |
created(java.util.Date created)
Set the created.
|
Example.Builder |
mentions(java.util.List<Mention> mentions)
Set the mentions.
|
Example.Builder |
text(java.lang.String text)
Set the text.
|
Example.Builder |
updated(java.util.Date updated)
Set the updated.
|
public Example.Builder()
public Example.Builder(java.lang.String text)
text - the textpublic Example build()
public Example.Builder addMentions(Mention mentions)
mentions - the new mentionspublic Example.Builder text(java.lang.String text)
text - the textpublic Example.Builder mentions(java.util.List<Mention> mentions)
mentions - the mentionspublic Example.Builder created(java.util.Date created)
created - the createdpublic Example.Builder updated(java.util.Date updated)
updated - the updated