Package com.ibm.cloud.cloudant.v1.model
Class Analyzer.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.Analyzer.Builder
- Enclosing class:
Analyzer
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddStopwords
(String stopwords) Adds a new element to stopwords.build()
Builds a Analyzer.Set the name.Set the stopwords.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a Analyzer.- Returns:
- the new Analyzer instance
-
addStopwords
Adds a new element to stopwords.- Parameters:
stopwords
- the new element to be added- Returns:
- the Analyzer builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the Analyzer builder
-
stopwords
Set the stopwords. Existing stopwords will be replaced.- Parameters:
stopwords
- the stopwords- Returns:
- the Analyzer builder
-