Class UpdateCustomModelOptions.Builder
java.lang.Object
com.ibm.watson.text_to_speech.v1.model.UpdateCustomModelOptions.Builder
- Enclosing class:
 - UpdateCustomModelOptions
 
public static class UpdateCustomModelOptions.Builder extends Object
Builder.
- 
Constructor Summary
 - 
Method Summary
Modifier and Type Method Description UpdateCustomModelOptions.BuilderaddWord(Word word)Adds an word to words.UpdateCustomModelOptionsbuild()Builds a UpdateCustomModelOptions.UpdateCustomModelOptions.BuildercustomizationId(String customizationId)Set the customizationId.UpdateCustomModelOptions.Builderdescription(String description)Set the description.UpdateCustomModelOptions.Buildername(String name)Set the name.UpdateCustomModelOptions.Builderwords(List<Word> words)Set the words. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. - 
Builder
Instantiates a new builder with required properties.- Parameters:
 customizationId- the customizationId
 
 - 
 - 
Method Details
- 
build
Builds a UpdateCustomModelOptions.- Returns:
 - the new UpdateCustomModelOptions instance
 
 - 
addWord
Adds an word to words.- Parameters:
 word- the new word- Returns:
 - the UpdateCustomModelOptions builder
 
 - 
customizationId
Set the customizationId.- Parameters:
 customizationId- the customizationId- Returns:
 - the UpdateCustomModelOptions builder
 
 - 
name
Set the name.- Parameters:
 name- the name- Returns:
 - the UpdateCustomModelOptions builder
 
 - 
description
Set the description.- Parameters:
 description- the description- Returns:
 - the UpdateCustomModelOptions builder
 
 - 
words
Set the words. Existing words will be replaced.- Parameters:
 words- the words- Returns:
 - the UpdateCustomModelOptions builder
 
 
 -