public static class Conversions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
Conversions.Builder |
addNormalization(NormalizationOperation normalization)
Adds an normalization to jsonNormalizations.
|
Conversions |
build()
Builds a Conversions.
|
Conversions.Builder |
html(HtmlSettings html)
Set the html.
|
Conversions.Builder |
imageTextRecognition(Boolean imageTextRecognition)
Set the imageTextRecognition.
|
Conversions.Builder |
jsonNormalizations(List<NormalizationOperation> jsonNormalizations)
Set the jsonNormalizations.
|
Conversions.Builder |
pdf(PdfSettings pdf)
Set the pdf.
|
Conversions.Builder |
segment(SegmentSettings segment)
Set the segment.
|
Conversions.Builder |
word(WordSettings word)
Set the word.
|
public Conversions build()
public Conversions.Builder addNormalization(NormalizationOperation normalization)
normalization
- the new normalizationpublic Conversions.Builder pdf(PdfSettings pdf)
pdf
- the pdfpublic Conversions.Builder word(WordSettings word)
word
- the wordpublic Conversions.Builder html(HtmlSettings html)
html
- the htmlpublic Conversions.Builder segment(SegmentSettings segment)
segment
- the segmentpublic Conversions.Builder jsonNormalizations(List<NormalizationOperation> jsonNormalizations)
jsonNormalizations
- the jsonNormalizationspublic Conversions.Builder imageTextRecognition(Boolean imageTextRecognition)
imageTextRecognition
- the imageTextRecognitionCopyright © 2021 IBM Cloud. All rights reserved.