Class AddWordOptions.Builder
java.lang.Object
com.ibm.watson.speech_to_text.v1.model.AddWordOptions.Builder
- Enclosing class:
 - AddWordOptions
 
public static class AddWordOptions.Builder extends Object
Builder.
- 
Constructor Summary
 - 
Method Summary
Modifier and Type Method Description AddWordOptions.BuilderaddSoundsLike(String soundsLike)Adds an soundsLike to soundsLike.AddWordOptionsbuild()Builds a AddWordOptions.AddWordOptions.BuildercustomizationId(String customizationId)Set the customizationId.AddWordOptions.BuilderdisplayAs(String displayAs)Set the displayAs.AddWordOptions.BuildersoundsLike(List<String> soundsLike)Set the soundsLike.AddWordOptions.Builderword(String word)Set the word.AddWordOptions.BuilderwordName(String wordName)Set the wordName. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 customizationId- the customizationIdwordName- the wordName
 
 - 
 - 
Method Details
- 
build
Builds a AddWordOptions.- Returns:
 - the new AddWordOptions instance
 
 - 
addSoundsLike
Adds an soundsLike to soundsLike.- Parameters:
 soundsLike- the new soundsLike- Returns:
 - the AddWordOptions builder
 
 - 
customizationId
Set the customizationId.- Parameters:
 customizationId- the customizationId- Returns:
 - the AddWordOptions builder
 
 - 
wordName
Set the wordName.- Parameters:
 wordName- the wordName- Returns:
 - the AddWordOptions builder
 
 - 
word
Set the word.- Parameters:
 word- the word- Returns:
 - the AddWordOptions builder
 
 - 
soundsLike
Set the soundsLike. Existing soundsLike will be replaced.- Parameters:
 soundsLike- the soundsLike- Returns:
 - the AddWordOptions builder
 
 - 
displayAs
Set the displayAs.- Parameters:
 displayAs- the displayAs- Returns:
 - the AddWordOptions builder
 
 
 -