Class StopAnalyzer.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.StopAnalyzer.Builder
-
- All Implemented Interfaces:
ObjectBuilder<StopAnalyzer>
- Enclosing class:
- StopAnalyzer
public static class StopAnalyzer.Builder extends ObjectBuilderBase implements ObjectBuilder<StopAnalyzer>
Builder forStopAnalyzer.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StopAnalyzerbuild()Builds aStopAnalyzer.StopAnalyzer.Builderstopwords(java.lang.String value, java.lang.String... values)API name:stopwordsStopAnalyzer.Builderstopwords(java.util.List<java.lang.String> list)API name:stopwordsStopAnalyzer.BuilderstopwordsPath(java.lang.String value)API name:stopwords_pathStopAnalyzer.Builderversion(java.lang.String value)API name:version-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
version
public final StopAnalyzer.Builder version(@Nullable java.lang.String value)
API name:version
-
stopwords
public final StopAnalyzer.Builder stopwords(java.util.List<java.lang.String> list)
API name:stopwordsAdds all elements of
listtostopwords.
-
stopwords
public final StopAnalyzer.Builder stopwords(java.lang.String value, java.lang.String... values)
API name:stopwordsAdds one or more values to
stopwords.
-
stopwordsPath
public final StopAnalyzer.Builder stopwordsPath(@Nullable java.lang.String value)
API name:stopwords_path
-
build
public StopAnalyzer build()
Builds aStopAnalyzer.- Specified by:
buildin interfaceObjectBuilder<StopAnalyzer>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-