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