public static class ClassifyCollectionOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String classifierId,
java.util.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(java.lang.String classifierId)
Set the classifierId.
|
ClassifyCollectionOptions.Builder |
collection(java.util.List<ClassifyInput> collection)
Set the collection.
|
public Builder()
public Builder(java.lang.String classifierId, java.util.List<ClassifyInput> collection)
classifierId
- the classifierIdcollection
- the collectionpublic ClassifyCollectionOptions build()
public ClassifyCollectionOptions.Builder addClassifyInput(ClassifyInput classifyInput)
classifyInput
- the new classifyInputpublic ClassifyCollectionOptions.Builder classifierId(java.lang.String classifierId)
classifierId
- the classifierIdpublic ClassifyCollectionOptions.Builder collection(java.util.List<ClassifyInput> collection)
collection
- the collection