public static class DetectFacesOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
DetectFacesOptions.Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
DetectFacesOptions.Builder |
acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.
|
DetectFacesOptions |
build()
Builds a DetectFacesOptions.
|
DetectFacesOptions.Builder |
imagesFile(java.io.File imagesFile)
Set the imagesFile.
|
DetectFacesOptions.Builder |
imagesFile(java.io.InputStream imagesFile)
Set the imagesFile.
|
DetectFacesOptions.Builder |
imagesFileContentType(java.lang.String imagesFileContentType)
Set the imagesFileContentType.
|
DetectFacesOptions.Builder |
imagesFilename(java.lang.String imagesFilename)
Set the imagesFilename.
|
DetectFacesOptions.Builder |
parameters(java.lang.String parameters)
Deprecated.
replaced by the url parameter
|
DetectFacesOptions.Builder |
url(java.lang.String url)
Set the url.
|
public DetectFacesOptions.Builder()
public DetectFacesOptions build()
public DetectFacesOptions.Builder imagesFile(java.io.InputStream imagesFile)
imagesFile - the imagesFilepublic DetectFacesOptions.Builder imagesFilename(java.lang.String imagesFilename)
imagesFilename - the imagesFilenamepublic DetectFacesOptions.Builder url(java.lang.String url)
url - the urlpublic DetectFacesOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
acceptLanguage - the acceptLanguagepublic DetectFacesOptions.Builder imagesFileContentType(java.lang.String imagesFileContentType)
imagesFileContentType - the imagesFileContentTypepublic DetectFacesOptions.Builder imagesFile(java.io.File imagesFile) throws java.io.FileNotFoundException
imagesFile - the imagesFilejava.io.FileNotFoundException - if the file could not be foundpublic DetectFacesOptions.Builder parameters(java.lang.String parameters)
parameters - the parameters