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