Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(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 |
mentions(List<Mention> mentions)
Set the mentions.
|
Example.Builder |
text(String text)
Set the text.
|
public Builder()
public Builder(String text)
text
- the textpublic Example build()
public Example.Builder addMentions(Mention mentions)
mentions
- the new mentionspublic Example.Builder text(String text)
text
- the textpublic Example.Builder mentions(List<Mention> mentions)
mentions
- the mentionsCopyright © 2021 IBM Cloud. All rights reserved.