Class SemanticRolesOptions.Builder

java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.SemanticRolesOptions.Builder
Enclosing class:
SemanticRolesOptions

public static class SemanticRolesOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

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

    • build

      public SemanticRolesOptions build()
      Builds a SemanticRolesOptions.
      Returns:
      the new SemanticRolesOptions instance
    • limit

      public SemanticRolesOptions.Builder limit​(long limit)
      Set the limit.
      Parameters:
      limit - the limit
      Returns:
      the SemanticRolesOptions builder
    • keywords

      public SemanticRolesOptions.Builder keywords​(Boolean keywords)
      Set the keywords.
      Parameters:
      keywords - the keywords
      Returns:
      the SemanticRolesOptions builder
    • entities

      public SemanticRolesOptions.Builder entities​(Boolean entities)
      Set the entities.
      Parameters:
      entities - the entities
      Returns:
      the SemanticRolesOptions builder