public static class ClassifyImagesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
ClassifyImagesOptions |
build()
Builds the profile options.
|
ClassifyImagesOptions.Builder |
classifierIds(List<String> classifierIds)
Classifier ids.
|
ClassifyImagesOptions.Builder |
classifierIds(String classifierId)
Classifier ids.
|
ClassifyImagesOptions.Builder |
images(File imagesFile)
Sets the images.
|
ClassifyImagesOptions.Builder |
threshold(double threshold)
Threshold.
|
ClassifyImagesOptions.Builder |
url(okhttp3.HttpUrl url)
Sets the image url.
|
ClassifyImagesOptions.Builder |
url(String url)
Sets the image url.
|
public ClassifyImagesOptions.Builder images(File imagesFile)
imagesFile
- the images filepublic ClassifyImagesOptions.Builder url(okhttp3.HttpUrl url)
url
- the urlpublic ClassifyImagesOptions.Builder url(String url)
url
- the urlpublic ClassifyImagesOptions.Builder classifierIds(List<String> classifierIds)
classifierIds
- the classifier idspublic ClassifyImagesOptions.Builder classifierIds(String classifierId)
classifierId
- the classifier idpublic ClassifyImagesOptions.Builder threshold(double threshold)
threshold
- the thresholdpublic ClassifyImagesOptions build()
Copyright © 2015–2016 IBM Watson. All rights reserved.