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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public PdfHeadingDetection build()
      Builds a PdfHeadingDetection.
      Returns:
      the new PdfHeadingDetection instance
    • addFontSetting

      public PdfHeadingDetection.Builder addFontSetting​(FontSetting fontSetting)
      Adds an fontSetting to fonts.
      Parameters:
      fontSetting - the new fontSetting
      Returns:
      the PdfHeadingDetection builder
    • fonts

      public PdfHeadingDetection.Builder fonts​(List<FontSetting> fonts)
      Set the fonts. Existing fonts will be replaced.
      Parameters:
      fonts - the fonts
      Returns:
      the PdfHeadingDetection builder