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