public static class AddWordOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String customizationId,
String wordName)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AddWordOptions.Builder |
addSoundsLike(String soundsLike)
Adds an soundsLike to soundsLike.
|
AddWordOptions |
build()
Builds a AddWordOptions.
|
AddWordOptions.Builder |
customizationId(String customizationId)
Set the customizationId.
|
AddWordOptions.Builder |
displayAs(String displayAs)
Set the displayAs.
|
AddWordOptions.Builder |
soundsLike(List<String> soundsLike)
Set the soundsLike.
|
AddWordOptions.Builder |
word(String word)
Set the word.
|
AddWordOptions.Builder |
wordName(String wordName)
Set the wordName.
|
public AddWordOptions build()
public AddWordOptions.Builder addSoundsLike(String soundsLike)
soundsLike
- the new soundsLikepublic AddWordOptions.Builder customizationId(String customizationId)
customizationId
- the customizationIdpublic AddWordOptions.Builder wordName(String wordName)
wordName
- the wordNamepublic AddWordOptions.Builder word(String word)
word
- the wordpublic AddWordOptions.Builder soundsLike(List<String> soundsLike)
soundsLike
- the soundsLikepublic AddWordOptions.Builder displayAs(String displayAs)
displayAs
- the displayAsCopyright © 2021 IBM Cloud. All rights reserved.