public static class ClassifyOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
ClassifyOptions.Builder()
Instantiates a new builder.
|
ClassifyOptions.Builder(java.lang.String classifierId,
java.lang.String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ClassifyOptions |
build()
Builds a ClassifyOptions.
|
ClassifyOptions.Builder |
classifierId(java.lang.String classifierId)
Set the classifierId.
|
ClassifyOptions.Builder |
text(java.lang.String text)
Set the text.
|
public ClassifyOptions.Builder()
public ClassifyOptions.Builder(java.lang.String classifierId, java.lang.String text)
classifierId
- the classifierIdtext
- the textpublic ClassifyOptions build()
public ClassifyOptions.Builder classifierId(java.lang.String classifierId)
classifierId
- the classifierIdpublic ClassifyOptions.Builder text(java.lang.String text)
text
- the text