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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public SyntaxOptions build()
      Builds a SyntaxOptions.
      Returns:
      the new SyntaxOptions instance
    • tokens

      public SyntaxOptions.Builder tokens​(SyntaxOptionsTokens tokens)
      Set the tokens.
      Parameters:
      tokens - the tokens
      Returns:
      the SyntaxOptions builder
    • sentences

      public SyntaxOptions.Builder sentences​(Boolean sentences)
      Set the sentences.
      Parameters:
      sentences - the sentences
      Returns:
      the SyntaxOptions builder