Class ClassifyInput.Builder

java.lang.Object
com.ibm.watson.natural_language_classifier.v1.model.ClassifyInput.Builder
Enclosing class:
ClassifyInput

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String text)
      Instantiates a new builder with required properties.
      Parameters:
      text - the text
  • Method Details

    • build

      public ClassifyInput build()
      Builds a ClassifyInput.
      Returns:
      the new ClassifyInput instance
    • text

      public ClassifyInput.Builder text​(String text)
      Set the text.
      Parameters:
      text - the text
      Returns:
      the ClassifyInput builder