Class IntervalsPrefix.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IntervalsPrefix.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.IntervalsPrefix.Builder
- All Implemented Interfaces:
WithJson<IntervalsPrefix.Builder>,ObjectBuilder<IntervalsPrefix>
- Enclosing class:
- IntervalsPrefix
public static class IntervalsPrefix.Builder extends WithJsonObjectBuilderBase<IntervalsPrefix.Builder> implements ObjectBuilder<IntervalsPrefix>
Builder for
IntervalsPrefix.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IntervalsPrefix.Builderanalyzer(java.lang.String value)API name:analyzerIntervalsPrefixbuild()Builds aIntervalsPrefix.IntervalsPrefix.Builderprefix(java.lang.String value)Required - API name:prefixprotected IntervalsPrefix.Builderself()IntervalsPrefix.BuilderuseField(java.lang.String value)API name:use_fieldMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analyzer
API name:analyzer -
prefix
Required - API name:prefix -
useField
API name:use_field -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IntervalsPrefix.Builder>
-
build
Builds aIntervalsPrefix.- Specified by:
buildin interfaceObjectBuilder<IntervalsPrefix>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-