public static class FindSimilarImagesOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
FindSimilarImagesOptions |
build()
Builds the profile options.
|
FindSimilarImagesOptions.Builder |
collectionId(java.lang.String collectionId)
Sets the image url.
|
FindSimilarImagesOptions.Builder |
image(byte[] imageBinary,
java.lang.String imageName)
Sets the image.
|
FindSimilarImagesOptions.Builder |
image(java.io.File imageFile)
Sets the image.
|
FindSimilarImagesOptions.Builder |
limit(java.lang.Integer limit)
Sets the limit.
|
public FindSimilarImagesOptions build()
public FindSimilarImagesOptions.Builder collectionId(java.lang.String collectionId)
collectionId - the collection idpublic FindSimilarImagesOptions.Builder image(java.io.File imageFile)
imageFile - the image filepublic FindSimilarImagesOptions.Builder image(byte[] imageBinary, java.lang.String imageName)
imageBinary - the image bytesimageName - the image namepublic FindSimilarImagesOptions.Builder limit(java.lang.Integer limit)
limit - the limit