public static class ExtractTablesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
ExtractTablesOptions.Builder()
Instantiates a new builder.
|
ExtractTablesOptions.Builder(java.io.InputStream file)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ExtractTablesOptions |
build()
Builds a ExtractTablesOptions.
|
ExtractTablesOptions.Builder |
file(java.io.File file)
Set the file.
|
ExtractTablesOptions.Builder |
file(java.io.InputStream file)
Set the file.
|
ExtractTablesOptions.Builder |
fileContentType(java.lang.String fileContentType)
Set the fileContentType.
|
ExtractTablesOptions.Builder |
filename(java.lang.String filename)
Set the filename.
|
ExtractTablesOptions.Builder |
modelId(java.lang.String modelId)
Set the modelId.
|
public ExtractTablesOptions.Builder()
public ExtractTablesOptions.Builder(java.io.InputStream file)
file
- the filepublic ExtractTablesOptions build()
public ExtractTablesOptions.Builder file(java.io.InputStream file)
file
- the filepublic ExtractTablesOptions.Builder filename(java.lang.String filename)
filename
- the filenamepublic ExtractTablesOptions.Builder modelId(java.lang.String modelId)
modelId
- the modelIdpublic ExtractTablesOptions.Builder fileContentType(java.lang.String fileContentType)
fileContentType
- the fileContentTypepublic ExtractTablesOptions.Builder file(java.io.File file) throws java.io.FileNotFoundException
file
- the filejava.io.FileNotFoundException
- if the file could not be found