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