public static class ClassifyCollectionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String classifierId,
List<ClassifyInput> collection)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ClassifyCollectionOptions.Builder |
addClassifyInput(ClassifyInput classifyInput)
Adds an classifyInput to collection.
|
ClassifyCollectionOptions |
build()
Builds a ClassifyCollectionOptions.
|
ClassifyCollectionOptions.Builder |
classifierId(String classifierId)
Set the classifierId.
|
ClassifyCollectionOptions.Builder |
collection(List<ClassifyInput> collection)
Set the collection.
|
public Builder()
public Builder(String classifierId, List<ClassifyInput> collection)
classifierId
- the classifierIdcollection
- the collectionpublic ClassifyCollectionOptions build()
public ClassifyCollectionOptions.Builder addClassifyInput(ClassifyInput classifyInput)
classifyInput
- the new classifyInputpublic ClassifyCollectionOptions.Builder classifierId(String classifierId)
classifierId
- the classifierIdpublic ClassifyCollectionOptions.Builder collection(List<ClassifyInput> collection)
collection
- the collectionCopyright © 2021 IBM Cloud. All rights reserved.