public static class CustomWord.Builder
extends java.lang.Object
Constructor and Description |
---|
CustomWord.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
CustomWord.Builder |
addSoundsLike(java.lang.String soundsLike)
Adds an soundsLike to soundsLike.
|
CustomWord |
build()
Builds a CustomWord.
|
CustomWord.Builder |
displayAs(java.lang.String displayAs)
Set the displayAs.
|
CustomWord.Builder |
soundsLike(java.util.List<java.lang.String> soundsLike)
Set the soundsLike.
|
CustomWord.Builder |
word(java.lang.String word)
Set the word.
|
public CustomWord build()
public CustomWord.Builder addSoundsLike(java.lang.String soundsLike)
soundsLike
- the new soundsLikepublic CustomWord.Builder word(java.lang.String word)
word
- the wordpublic CustomWord.Builder soundsLike(java.util.List<java.lang.String> soundsLike)
soundsLike
- the soundsLikepublic CustomWord.Builder displayAs(java.lang.String displayAs)
displayAs
- the displayAs