Class CreateLanguageModelOptions.Builder
java.lang.Object
com.ibm.watson.speech_to_text.v1.model.CreateLanguageModelOptions.Builder
- Enclosing class:
- CreateLanguageModelOptions
public static class CreateLanguageModelOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateLanguageModelOptions.Builder
baseModelName(String baseModelName)
Set the baseModelName.CreateLanguageModelOptions
build()
Builds a CreateLanguageModelOptions.CreateLanguageModelOptions.Builder
description(String description)
Set the description.CreateLanguageModelOptions.Builder
dialect(String dialect)
Set the dialect.CreateLanguageModelOptions.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 namebaseModelName
- the baseModelName
-
-
Method Details
-
build
Builds a CreateLanguageModelOptions.- Returns:
- the new CreateLanguageModelOptions instance
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateLanguageModelOptions builder
-
baseModelName
Set the baseModelName.- Parameters:
baseModelName
- the baseModelName- Returns:
- the CreateLanguageModelOptions builder
-
dialect
Set the dialect.- Parameters:
dialect
- the dialect- Returns:
- the CreateLanguageModelOptions builder
-
description
Set the description.- Parameters:
description
- the description- Returns:
- the CreateLanguageModelOptions builder
-