Class UpgradeAcousticModelOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class UpgradeAcousticModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpgradeAcousticModelOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
customizationId()
Gets the customizationId.String
customLanguageModelId()
Gets the customLanguageModelId.Boolean
force()
Gets the force.UpgradeAcousticModelOptions.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a UpgradeAcousticModelOptions builder
-
customizationId
Gets the customizationId.The customization ID (GUID) of the custom acoustic model that is to be used for the request. You must make the request with credentials for the instance of the service that owns the custom model.
- Returns:
- the customizationId
-
customLanguageModelId
Gets the customLanguageModelId.If the custom acoustic model was trained with a custom language model, the customization ID (GUID) of that custom language model. The custom language model must be upgraded before the custom acoustic model can be upgraded. The custom language model must be fully trained and available. The credentials specified with the request must own both custom models.
- Returns:
- the customLanguageModelId
-
force
Gets the force.If `true`, forces the upgrade of a custom acoustic model for which no input data has been modified since it was last trained. Use this parameter only to force the upgrade of a custom acoustic model that is trained with a custom language model, and only if you receive a 400 response code and the message `No input data modified since last training`. See [Upgrading a custom acoustic model](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-upgrade#custom-upgrade-acoustic).
- Returns:
- the force
-