Class AnalyzeOptions.Builder
java.lang.Object
com.ibm.watson.natural_language_understanding.v1.model.AnalyzeOptions.Builder
- Enclosing class:
- AnalyzeOptions
public static class AnalyzeOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method 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.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
features
- the features
-
-
Method Details
-
build
Builds a AnalyzeOptions.- Returns:
- the new AnalyzeOptions instance
-
features
Set the features.- Parameters:
features
- the features- Returns:
- the AnalyzeOptions builder
-
text
Set the text.- Parameters:
text
- the text- Returns:
- the AnalyzeOptions builder
-
html
Set the html.- Parameters:
html
- the html- Returns:
- the AnalyzeOptions builder
-
url
Set the url.- Parameters:
url
- the url- Returns:
- the AnalyzeOptions builder
-
clean
Set the clean.- Parameters:
clean
- the clean- Returns:
- the AnalyzeOptions builder
-
xpath
Set the xpath.- Parameters:
xpath
- the xpath- Returns:
- the AnalyzeOptions builder
-
fallbackToRaw
Set the fallbackToRaw.- Parameters:
fallbackToRaw
- the fallbackToRaw- Returns:
- the AnalyzeOptions builder
-
returnAnalyzedText
Set the returnAnalyzedText.- Parameters:
returnAnalyzedText
- the returnAnalyzedText- Returns:
- the AnalyzeOptions builder
-
language
Set the language.- Parameters:
language
- the language- Returns:
- the AnalyzeOptions builder
-
limitTextCharacters
Set the limitTextCharacters.- Parameters:
limitTextCharacters
- the limitTextCharacters- Returns:
- the AnalyzeOptions builder
-