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 Summary
-
Method Summary
Modifier and Type Method Description ClassifyInput
build()
Builds a ClassifyInput.ClassifyInput.Builder
text(String text)
Set the text.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
text
- the text
-
-
Method Details
-
build
Builds a ClassifyInput.- Returns:
- the new ClassifyInput instance
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the ClassifyInput builder
-