public static class AddWordOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String customizationId,
java.lang.String wordName)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
AddWordOptions.Builder |
addSoundsLike(java.lang.String soundsLike)
Adds an soundsLike to soundsLike.
|
AddWordOptions |
build()
Builds a AddWordOptions.
|
AddWordOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
AddWordOptions.Builder |
displayAs(java.lang.String displayAs)
Set the displayAs.
|
AddWordOptions.Builder |
soundsLike(java.util.List<java.lang.String> soundsLike)
Set the soundsLike.
|
AddWordOptions.Builder |
word(java.lang.String word)
Set the word.
|
AddWordOptions.Builder |
wordName(java.lang.String wordName)
Set the wordName.
|
public Builder()
public Builder(java.lang.String customizationId, java.lang.String wordName)
customizationId
- the customizationIdwordName
- the wordNamepublic AddWordOptions build()
public AddWordOptions.Builder addSoundsLike(java.lang.String soundsLike)
soundsLike
- the new soundsLikepublic AddWordOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationIdpublic AddWordOptions.Builder wordName(java.lang.String wordName)
wordName
- the wordNamepublic AddWordOptions.Builder word(java.lang.String word)
word
- the wordpublic AddWordOptions.Builder soundsLike(java.util.List<java.lang.String> soundsLike)
soundsLike
- the soundsLikepublic AddWordOptions.Builder displayAs(java.lang.String displayAs)
displayAs
- the displayAs