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.Builder
analyzer(java.lang.String value)
API name:analyzer
IntervalsPrefix
build()
Builds aIntervalsPrefix
.IntervalsPrefix.Builder
prefix(java.lang.String value)
Required - API name:prefix
protected IntervalsPrefix.Builder
self()
IntervalsPrefix.Builder
useField(java.lang.String value)
API name:use_field
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
self
in classWithJsonObjectBuilderBase<IntervalsPrefix.Builder>
-
build
Builds aIntervalsPrefix
.- Specified by:
build
in interfaceObjectBuilder<IntervalsPrefix>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-