Class ExtractTablesOptions.Builder
java.lang.Object
com.ibm.watson.compare_comply.v1.model.ExtractTablesOptions.Builder
- Enclosing class:
- ExtractTablesOptions
public static class ExtractTablesOptions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(InputStream file)
Instantiates a new builder with required properties. -
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
file
- the file
-
-
Method Details
-
build
Builds a ExtractTablesOptions.- Returns:
- the new ExtractTablesOptions instance
-
file
Set the file.- Parameters:
file
- the file- Returns:
- the ExtractTablesOptions builder
-
fileContentType
Set the fileContentType.- Parameters:
fileContentType
- the fileContentType- Returns:
- the ExtractTablesOptions builder
-
model
Set the model.- Parameters:
model
- the model- Returns:
- the ExtractTablesOptions builder
-
file
Set the file.- Parameters:
file
- the file- Returns:
- the ExtractTablesOptions builder
- Throws:
FileNotFoundException
- if the file could not be found
-