public static class ExtractTablesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(InputStream file)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ExtractTablesOptions |
build()
Builds a ExtractTablesOptions.
|
ExtractTablesOptions.Builder |
file(File file)
Set the file.
|
ExtractTablesOptions.Builder |
file(InputStream file)
Set the file.
|
ExtractTablesOptions.Builder |
fileContentType(String fileContentType)
Set the fileContentType.
|
ExtractTablesOptions.Builder |
model(String model)
Set the model.
|
public Builder()
public Builder(InputStream file)
file
- the filepublic ExtractTablesOptions build()
public ExtractTablesOptions.Builder file(InputStream file)
file
- the filepublic ExtractTablesOptions.Builder fileContentType(String fileContentType)
fileContentType
- the fileContentTypepublic ExtractTablesOptions.Builder model(String model)
model
- the modelpublic ExtractTablesOptions.Builder file(File file) throws FileNotFoundException
file
- the fileFileNotFoundException
- if the file could not be foundCopyright © 2021 IBM Cloud. All rights reserved.