public class AddWordOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
AddWordOptions.Builder
Builder.
|
static interface |
AddWordOptions.PartOfSpeech
**Japanese only.** The part of speech for the word.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
customizationId |
protected java.lang.String |
partOfSpeech |
protected java.lang.String |
translation |
protected java.lang.String |
word |
Modifier | Constructor and Description |
---|---|
protected |
AddWordOptions(AddWordOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
customizationId()
Gets the customizationId.
|
AddWordOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
partOfSpeech()
Gets the partOfSpeech.
|
java.lang.String |
translation()
Gets the translation.
|
java.lang.String |
word()
Gets the word.
|
protected java.lang.String customizationId
protected java.lang.String word
protected java.lang.String translation
protected java.lang.String partOfSpeech
protected AddWordOptions(AddWordOptions.Builder builder)
public AddWordOptions.Builder newBuilder()
public java.lang.String customizationId()
public java.lang.String word()
public java.lang.String translation()
public java.lang.String partOfSpeech()