public static class UpdateVoiceModelOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String customizationId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
UpdateVoiceModelOptions.Builder |
addWord(Word word)
Adds an word to words.
|
UpdateVoiceModelOptions |
build()
Builds a UpdateVoiceModelOptions.
|
UpdateVoiceModelOptions.Builder |
customizationId(java.lang.String customizationId)
Set the customizationId.
|
UpdateVoiceModelOptions.Builder |
description(java.lang.String description)
Set the description.
|
UpdateVoiceModelOptions.Builder |
name(java.lang.String name)
Set the name.
|
UpdateVoiceModelOptions.Builder |
words(java.util.List<Word> words)
Set the words.
|
public Builder()
public Builder(java.lang.String customizationId)
customizationId
- the customizationIdpublic UpdateVoiceModelOptions build()
public UpdateVoiceModelOptions.Builder addWord(Word word)
word
- the new wordpublic UpdateVoiceModelOptions.Builder customizationId(java.lang.String customizationId)
customizationId
- the customizationIdpublic UpdateVoiceModelOptions.Builder name(java.lang.String name)
name
- the namepublic UpdateVoiceModelOptions.Builder description(java.lang.String description)
description
- the descriptionpublic UpdateVoiceModelOptions.Builder words(java.util.List<Word> words)
words
- the words