public static class WordHeadingDetection.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
WordHeadingDetection.Builder |
addFontSetting(FontSetting fontSetting)
Adds a new element to fonts.
|
WordHeadingDetection.Builder |
addWordStyle(WordStyle wordStyle)
Adds a new element to styles.
|
WordHeadingDetection |
build()
Builds a WordHeadingDetection.
|
WordHeadingDetection.Builder |
fonts(List<FontSetting> fonts)
Set the fonts.
|
WordHeadingDetection.Builder |
styles(List<WordStyle> styles)
Set the styles.
|
public WordHeadingDetection build()
public WordHeadingDetection.Builder addFontSetting(FontSetting fontSetting)
fontSetting
- the new element to be addedpublic WordHeadingDetection.Builder addWordStyle(WordStyle wordStyle)
wordStyle
- the new element to be addedpublic WordHeadingDetection.Builder fonts(List<FontSetting> fonts)
fonts
- the fontspublic WordHeadingDetection.Builder styles(List<WordStyle> styles)
styles
- the stylesCopyright © 2024 IBM Cloud. All rights reserved.