public static class ClassifyOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String classifierId,
String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ClassifyOptions |
build()
Builds a ClassifyOptions.
|
ClassifyOptions.Builder |
classifierId(String classifierId)
Set the classifierId.
|
ClassifyOptions.Builder |
text(String text)
Set the text.
|
public ClassifyOptions build()
public ClassifyOptions.Builder classifierId(String classifierId)
classifierId
- the classifierIdpublic ClassifyOptions.Builder text(String text)
text
- the textCopyright © 2021 IBM Cloud. All rights reserved.