Package com.ibm.cloud.cloudant.v1.model
Class SearchIndexDefinition.Builder
java.lang.Object
com.ibm.cloud.cloudant.v1.model.SearchIndexDefinition.Builder
- Enclosing class:
SearchIndexDefinition
Builder.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalyzer
(AnalyzerConfiguration analyzer) Set the analyzer.build()
Builds a SearchIndexDefinition.Set the index.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
index
- the index
-
-
Method Details
-
build
Builds a SearchIndexDefinition.- Returns:
- the new SearchIndexDefinition instance
-
analyzer
Set the analyzer.- Parameters:
analyzer
- the analyzer- Returns:
- the SearchIndexDefinition builder
-
index
Set the index.- Parameters:
index
- the index- Returns:
- the SearchIndexDefinition builder
-