public static class DetectFacesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
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 |
url(java.lang.String url)
Set the url.
|
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 imagesFileContentType(java.lang.String imagesFileContentType)
imagesFileContentType
- the imagesFileContentTypepublic DetectFacesOptions.Builder url(java.lang.String url)
url
- the urlpublic DetectFacesOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
acceptLanguage
- the acceptLanguagepublic DetectFacesOptions.Builder imagesFile(java.io.File imagesFile) throws java.io.FileNotFoundException
imagesFile
- the imagesFilejava.io.FileNotFoundException
- if the file could not be found