Class AddWordsOptions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.speech_to_text.v1.model.AddWordsOptions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class AddWordsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The addWords options.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddWordsOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
customizationId()
Gets the customizationId.AddWordsOptions.Builder
newBuilder()
New builder.List<CustomWord>
words()
Gets the words.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a AddWordsOptions builder
-
customizationId
Gets the customizationId.The customization ID (GUID) of the custom language 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
-
words
Gets the words.An array of `CustomWord` objects that provides information about each custom word that is to be added to or updated in the custom language model.
- Returns:
- the words
-