java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_classifier.v1.model.ClassifyInput
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class ClassifyInput
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Request payload to classify.
  • Method Details

    • newBuilder

      public ClassifyInput.Builder newBuilder()
      New builder.
      Returns:
      a ClassifyInput builder
    • text

      public String text()
      Gets the text.

      The submitted phrase. The maximum length is 2048 characters.

      Returns:
      the text