Class PatternReplaceCharFilter.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.CharFilterBase.AbstractBuilder<PatternReplaceCharFilter.Builder>
-
- org.opensearch.client.opensearch._types.analysis.PatternReplaceCharFilter.Builder
-
- All Implemented Interfaces:
ObjectBuilder<PatternReplaceCharFilter>
- Enclosing class:
- PatternReplaceCharFilter
public static class PatternReplaceCharFilter.Builder extends CharFilterBase.AbstractBuilder<PatternReplaceCharFilter.Builder> implements ObjectBuilder<PatternReplaceCharFilter>
Builder forPatternReplaceCharFilter
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatternReplaceCharFilter
build()
Builds aPatternReplaceCharFilter
.PatternReplaceCharFilter.Builder
flags(java.lang.String value)
API name:flags
PatternReplaceCharFilter.Builder
pattern(java.lang.String value)
Required - API name:pattern
PatternReplaceCharFilter.Builder
replacement(java.lang.String value)
API name:replacement
protected PatternReplaceCharFilter.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.CharFilterBase.AbstractBuilder
version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
flags
public final PatternReplaceCharFilter.Builder flags(@Nullable java.lang.String value)
API name:flags
-
pattern
public final PatternReplaceCharFilter.Builder pattern(java.lang.String value)
Required - API name:pattern
-
replacement
public final PatternReplaceCharFilter.Builder replacement(@Nullable java.lang.String value)
API name:replacement
-
self
protected PatternReplaceCharFilter.Builder self()
- Specified by:
self
in classCharFilterBase.AbstractBuilder<PatternReplaceCharFilter.Builder>
-
build
public PatternReplaceCharFilter build()
Builds aPatternReplaceCharFilter
.- Specified by:
build
in interfaceObjectBuilder<PatternReplaceCharFilter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-