public static class ConvertToHtmlOptions.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 |
|---|---|
ConvertToHtmlOptions |
build()
Builds a ConvertToHtmlOptions.
|
ConvertToHtmlOptions.Builder |
file(File file)
Set the file.
|
ConvertToHtmlOptions.Builder |
file(InputStream file)
Set the file.
|
ConvertToHtmlOptions.Builder |
fileContentType(String fileContentType)
Set the fileContentType.
|
ConvertToHtmlOptions.Builder |
model(String model)
Set the model.
|
public Builder()
public Builder(InputStream file)
file - the filepublic ConvertToHtmlOptions build()
public ConvertToHtmlOptions.Builder file(InputStream file)
file - the filepublic ConvertToHtmlOptions.Builder fileContentType(String fileContentType)
fileContentType - the fileContentTypepublic ConvertToHtmlOptions.Builder model(String model)
model - the modelpublic ConvertToHtmlOptions.Builder file(File file) throws FileNotFoundException
file - the fileFileNotFoundException - if the file could not be foundCopyright © 2021 IBM Cloud. All rights reserved.