Class DateRangeProperty.Builder
java.lang.Object
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:
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
addCopyTo, copyTo, copyTo, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, ignoreAbove, localMetadata, meta, name, properties, properties, putFields, putFields, putLocalMetadata, putMeta, putProperties, putProperties
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.
-