Class UpgradeAcousticModelOptions

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.UpgradeAcousticModelOptions
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class UpgradeAcousticModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The upgradeAcousticModel options.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a UpgradeAcousticModelOptions builder
    • customizationId

      public String 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

      public String 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

      public Boolean 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