public static class VisualRecognitionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
VisualRecognitionOptions |
build()
Builds the profile options.
|
VisualRecognitionOptions.Builder |
images(File imagesFile)
Sets the images.
|
VisualRecognitionOptions.Builder |
url(okhttp3.HttpUrl url)
Sets the image url.
|
VisualRecognitionOptions.Builder |
url(String url)
Sets the image url.
|
public VisualRecognitionOptions.Builder images(File imagesFile)
imagesFile
- the images filepublic VisualRecognitionOptions.Builder url(okhttp3.HttpUrl url)
url
- the urlpublic VisualRecognitionOptions.Builder url(String url)
url
- the urlpublic VisualRecognitionOptions build()
Copyright © 2015–2016 IBM Watson. All rights reserved.