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 AnalyzeOptionsbuild()Builds a AnalyzeOptions.AnalyzeOptions.Builderclean(Boolean clean)Set the clean.AnalyzeOptions.BuilderfallbackToRaw(Boolean fallbackToRaw)Set the fallbackToRaw.AnalyzeOptions.Builderfeatures(Features features)Set the features.AnalyzeOptions.Builderhtml(String html)Set the html.AnalyzeOptions.Builderlanguage(String language)Set the language.AnalyzeOptions.BuilderlimitTextCharacters(long limitTextCharacters)Set the limitTextCharacters.AnalyzeOptions.BuilderreturnAnalyzedText(Boolean returnAnalyzedText)Set the returnAnalyzedText.AnalyzeOptions.Buildertext(String text)Set the text.AnalyzeOptions.Builderurl(String url)Set the url.AnalyzeOptions.Builderxpath(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
-