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

public class ClassifyOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
The classify options.
  • Method Details

    • newBuilder

      public ClassifyOptions.Builder newBuilder()
      New builder.
      Returns:
      a ClassifyOptions builder
    • classifierId

      public String classifierId()
      Gets the classifierId.

      Classifier ID to use.

      Returns:
      the classifierId
    • text

      public String text()
      Gets the text.

      The submitted phrase. The maximum length is 2048 characters.

      Returns:
      the text