Class SyntaxOptionsTokens.Builder
java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.SyntaxOptionsTokens.Builder
- Enclosing class:
- SyntaxOptionsTokens
public static class SyntaxOptionsTokens.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description SyntaxOptionsTokens
build()
Builds a SyntaxOptionsTokens.SyntaxOptionsTokens.Builder
lemma(Boolean lemma)
Set the lemma.SyntaxOptionsTokens.Builder
partOfSpeech(Boolean partOfSpeech)
Set the partOfSpeech.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a SyntaxOptionsTokens.- Returns:
- the new SyntaxOptionsTokens instance
-
lemma
Set the lemma.- Parameters:
lemma
- the lemma- Returns:
- the SyntaxOptionsTokens builder
-
partOfSpeech
Set the partOfSpeech.- Parameters:
partOfSpeech
- the partOfSpeech- Returns:
- the SyntaxOptionsTokens builder
-