public static class CreateVoiceModelOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String name)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateVoiceModelOptions |
build()
Builds a CreateVoiceModelOptions.
|
CreateVoiceModelOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateVoiceModelOptions.Builder |
language(java.lang.String language)
Set the language.
|
CreateVoiceModelOptions.Builder |
name(java.lang.String name)
Set the name.
|
public Builder()
public Builder(java.lang.String name)
name
- the namepublic CreateVoiceModelOptions build()
public CreateVoiceModelOptions.Builder name(java.lang.String name)
name
- the namepublic CreateVoiceModelOptions.Builder language(java.lang.String language)
language
- the languagepublic CreateVoiceModelOptions.Builder description(java.lang.String description)
description
- the description