Class Conversions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.Conversions.Builder
- Enclosing class:
- Conversions
public static class Conversions.Builder extends Object
Builder.
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder. -
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Conversions.- Returns:
- the new Conversions instance
-
addNormalization
Adds an normalization to jsonNormalizations.- Parameters:
normalization
- the new normalization- Returns:
- the Conversions builder
-
pdf
Set the pdf.- Parameters:
pdf
- the pdf- Returns:
- the Conversions builder
-
word
Set the word.- Parameters:
word
- the word- Returns:
- the Conversions builder
-
html
Set the html.- Parameters:
html
- the html- Returns:
- the Conversions builder
-
segment
Set the segment.- Parameters:
segment
- the segment- Returns:
- the Conversions builder
-
jsonNormalizations
Set the jsonNormalizations. Existing jsonNormalizations will be replaced.- Parameters:
jsonNormalizations
- the jsonNormalizations- Returns:
- the Conversions builder
-
imageTextRecognition
Set the imageTextRecognition.- Parameters:
imageTextRecognition
- the imageTextRecognition- Returns:
- the Conversions builder
-