Class IntervalsRegexp.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IntervalsRegexp.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsRegexp.Builder
- All Implemented Interfaces:
WithJson<IntervalsRegexp.Builder>,ObjectBuilder<IntervalsRegexp>
- Enclosing class:
- IntervalsRegexp
public static class IntervalsRegexp.Builder
extends WithJsonObjectBuilderBase<IntervalsRegexp.Builder>
implements ObjectBuilder<IntervalsRegexp>
Builder for
IntervalsRegexp.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal IntervalsRegexp.BuilderAnalyzer used to analyze theprefix.build()Builds aIntervalsRegexp.final IntervalsRegexp.BuilderRequired - Regex pattern.protected IntervalsRegexp.Builderself()final IntervalsRegexp.BuilderIf specified, match intervals from this field rather than the top-level field.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analyzer
Analyzer used to analyze theprefix.API name:
analyzer -
pattern
Required - Regex pattern.API name:
pattern -
useField
If specified, match intervals from this field rather than the top-level field. Theprefixis normalized using the search analyzer from this field, unlessanalyzeris specified separately.API name:
use_field -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IntervalsRegexp.Builder>
-
build
Builds aIntervalsRegexp.- Specified by:
buildin interfaceObjectBuilder<IntervalsRegexp>- Throws:
NullPointerException- if some of the required fields are null.
-