public class UpgradeAcousticModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpgradeAcousticModelOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
customizationId |
protected java.lang.String |
customLanguageModelId |
protected java.lang.Boolean |
force |
Modifier | Constructor and Description |
---|---|
protected |
UpgradeAcousticModelOptions(UpgradeAcousticModelOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
customizationId()
Gets the customizationId.
|
java.lang.String |
customLanguageModelId()
Gets the customLanguageModelId.
|
java.lang.Boolean |
force()
Gets the force.
|
UpgradeAcousticModelOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.String customizationId
protected java.lang.String customLanguageModelId
protected java.lang.Boolean force
protected UpgradeAcousticModelOptions(UpgradeAcousticModelOptions.Builder builder)
public UpgradeAcousticModelOptions.Builder newBuilder()
public java.lang.String 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.
public java.lang.String 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.
public java.lang.Boolean 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-customUpgrade#upgradeAcoustic).