Class ClassifyInput
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClassifyInput.Builder
Builder. -
Method Summary
Modifier and Type Method Description ClassifyInput.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 ClassifyInput builder
-
text
Gets the text.The submitted phrase. The maximum length is 2048 characters.
- Returns:
- the text
-