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 a new element 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 element to be addedpublic Example.Builder text(String text)
text
- the textpublic Example.Builder mentions(List<Mention> mentions)
mentions
- the mentionsCopyright © 2024 IBM Cloud. All rights reserved.