Class CreateCustomModelOptions.Builder
java.lang.Object
com.ibm.watson.text_to_speech.v1.model.CreateCustomModelOptions.Builder
- Enclosing class:
- CreateCustomModelOptions
public static class CreateCustomModelOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateCustomModelOptions
build()
Builds a CreateCustomModelOptions.CreateCustomModelOptions.Builder
description(String description)
Set the description.CreateCustomModelOptions.Builder
language(String language)
Set the language.CreateCustomModelOptions.Builder
name(String name)
Set the name.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
name
- the name
-
-
Method Details
-
build
Builds a CreateCustomModelOptions.- Returns:
- the new CreateCustomModelOptions instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateCustomModelOptions builder
-
language
Set the language.- Parameters:
language
- the language- Returns:
- the CreateCustomModelOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the CreateCustomModelOptions builder
-