Package com.ibm.cloud.cloudant.v1.model
Class PostSearchAnalyzeOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.cloudant.v1.model.PostSearchAnalyzeOptions.Builder
-
- Enclosing class:
- PostSearchAnalyzeOptions
public static class PostSearchAnalyzeOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostSearchAnalyzeOptions.Builder
analyzer(String analyzer)
Set the analyzer.PostSearchAnalyzeOptions
build()
Builds a PostSearchAnalyzeOptions.PostSearchAnalyzeOptions.Builder
text(String text)
Set the text.
-
-
-
Method Detail
-
build
public PostSearchAnalyzeOptions build()
Builds a PostSearchAnalyzeOptions.- Returns:
- the new PostSearchAnalyzeOptions instance
-
analyzer
public PostSearchAnalyzeOptions.Builder analyzer(String analyzer)
Set the analyzer.- Parameters:
analyzer
- the analyzer- Returns:
- the PostSearchAnalyzeOptions builder
-
text
public PostSearchAnalyzeOptions.Builder text(String text)
Set the text.- Parameters:
text
- the text- Returns:
- the PostSearchAnalyzeOptions builder
-
-