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 |
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)
Set the parameters.
|
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 parameters(java.lang.String parameters)
parameters
- the parameterspublic 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