public static class ClassifyOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
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 Builder()
public 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