Class PdfHeadingDetection.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.PdfHeadingDetection.Builder
- Enclosing class:
- PdfHeadingDetection
public static class PdfHeadingDetection.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method Description PdfHeadingDetection.Builder
addFontSetting(FontSetting fontSetting)
Adds an fontSetting to fonts.PdfHeadingDetection
build()
Builds a PdfHeadingDetection.PdfHeadingDetection.Builder
fonts(List<FontSetting> fonts)
Set the fonts.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a PdfHeadingDetection.- Returns:
- the new PdfHeadingDetection instance
-
addFontSetting
Adds an fontSetting to fonts.- Parameters:
fontSetting
- the new fontSetting- Returns:
- the PdfHeadingDetection builder
-
fonts
Set the fonts. Existing fonts will be replaced.- Parameters:
fonts
- the fonts- Returns:
- the PdfHeadingDetection builder
-