public class AddWordsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
AddWordsOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
customizationId |
protected java.util.List<CustomWord> |
words |
Modifier | Constructor and Description |
---|---|
protected |
AddWordsOptions(AddWordsOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
customizationId()
Gets the customizationId.
|
AddWordsOptions.Builder |
newBuilder()
New builder.
|
java.util.List<CustomWord> |
words()
Gets the words.
|
protected java.lang.String customizationId
protected java.util.List<CustomWord> words
protected AddWordsOptions(AddWordsOptions.Builder builder)
public AddWordsOptions.Builder newBuilder()
public java.lang.String 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.
public java.util.List<CustomWord> 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.