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 ExtractTablesOptionsbuild()Builds a ExtractTablesOptions.ExtractTablesOptions.Builderfile(File file)Set the file.ExtractTablesOptions.Builderfile(InputStream file)Set the file.ExtractTablesOptions.BuilderfileContentType(String fileContentType)Set the fileContentType.ExtractTablesOptions.Buildermodel(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
 
 -