Class DateRangeProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.RangePropertyBase.AbstractBuilder<DateRangeProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.DateRangeProperty.Builder
- All Implemented Interfaces:
WithJson<DateRangeProperty.Builder>
,ObjectBuilder<DateRangeProperty>
- Enclosing class:
- DateRangeProperty
public static class DateRangeProperty.Builder extends RangePropertyBase.AbstractBuilder<DateRangeProperty.Builder> implements ObjectBuilder<DateRangeProperty>
Builder for
DateRangeProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DateRangeProperty
build()
Builds aDateRangeProperty
.DateRangeProperty.Builder
format(java.lang.String value)
API name:format
protected DateRangeProperty.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.RangePropertyBase.AbstractBuilder
boost, coerce, index
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValues
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, properties, properties, properties
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
-
format
API name:format
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<DateRangeProperty.Builder>
-
build
Builds aDateRangeProperty
.- Specified by:
build
in interfaceObjectBuilder<DateRangeProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-