Class ClassifyOptions
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassifyOptions.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
classifierId()
Gets the classifierId.ClassifyOptions.Builder
newBuilder()
New builder.String
text()
Gets the text.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a ClassifyOptions builder
-
classifierId
Gets the classifierId.Classifier ID to use.
- Returns:
- the classifierId
-
text
Gets the text.The submitted phrase. The maximum length is 2048 characters.
- Returns:
- the text
-