public static class AnalyzeOptions.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(Features features)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
AnalyzeOptions |
build()
Builds a AnalyzeOptions.
|
AnalyzeOptions.Builder |
clean(Boolean clean)
Set the clean.
|
AnalyzeOptions.Builder |
fallbackToRaw(Boolean fallbackToRaw)
Set the fallbackToRaw.
|
AnalyzeOptions.Builder |
features(Features features)
Set the features.
|
AnalyzeOptions.Builder |
html(String html)
Set the html.
|
AnalyzeOptions.Builder |
language(String language)
Set the language.
|
AnalyzeOptions.Builder |
limitTextCharacters(long limitTextCharacters)
Set the limitTextCharacters.
|
AnalyzeOptions.Builder |
returnAnalyzedText(Boolean returnAnalyzedText)
Set the returnAnalyzedText.
|
AnalyzeOptions.Builder |
text(String text)
Set the text.
|
AnalyzeOptions.Builder |
url(String url)
Set the url.
|
AnalyzeOptions.Builder |
xpath(String xpath)
Set the xpath.
|
public Builder()
public Builder(Features features)
features - the featurespublic AnalyzeOptions build()
public AnalyzeOptions.Builder features(Features features)
features - the featurespublic AnalyzeOptions.Builder text(String text)
text - the textpublic AnalyzeOptions.Builder html(String html)
html - the htmlpublic AnalyzeOptions.Builder url(String url)
url - the urlpublic AnalyzeOptions.Builder clean(Boolean clean)
clean - the cleanpublic AnalyzeOptions.Builder xpath(String xpath)
xpath - the xpathpublic AnalyzeOptions.Builder fallbackToRaw(Boolean fallbackToRaw)
fallbackToRaw - the fallbackToRawpublic AnalyzeOptions.Builder returnAnalyzedText(Boolean returnAnalyzedText)
returnAnalyzedText - the returnAnalyzedTextpublic AnalyzeOptions.Builder language(String language)
language - the languagepublic AnalyzeOptions.Builder limitTextCharacters(long limitTextCharacters)
limitTextCharacters - the limitTextCharactersCopyright © 2022 IBM Cloud. All rights reserved.