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