public static class ClassifyOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
ClassifyOptions.Builder |
acceptLanguage(java.lang.String acceptLanguage)
Set the acceptLanguage.
|
ClassifyOptions |
build()
Builds a ClassifyOptions.
|
ClassifyOptions.Builder |
imagesFile(java.io.File imagesFile)
Set the imagesFile.
|
ClassifyOptions.Builder |
imagesFile(java.io.InputStream imagesFile)
Set the imagesFile.
|
ClassifyOptions.Builder |
imagesFileContentType(java.lang.String imagesFileContentType)
Set the imagesFileContentType.
|
ClassifyOptions.Builder |
imagesFilename(java.lang.String imagesFilename)
Set the imagesFilename.
|
ClassifyOptions.Builder |
parameters(java.lang.String parameters)
Set the parameters.
|
public ClassifyOptions build()
public ClassifyOptions.Builder imagesFile(java.io.InputStream imagesFile)
imagesFile
- the imagesFilepublic ClassifyOptions.Builder imagesFilename(java.lang.String imagesFilename)
imagesFilename
- the imagesFilenamepublic ClassifyOptions.Builder parameters(java.lang.String parameters)
parameters
- the parameterspublic ClassifyOptions.Builder acceptLanguage(java.lang.String acceptLanguage)
acceptLanguage
- the acceptLanguagepublic ClassifyOptions.Builder imagesFileContentType(java.lang.String imagesFileContentType)
imagesFileContentType
- the imagesFileContentTypepublic ClassifyOptions.Builder imagesFile(java.io.File imagesFile) throws java.io.FileNotFoundException
imagesFile
- the imagesFilejava.io.FileNotFoundException