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 DateRangePropertybuild()Builds aDateRangeProperty.DateRangeProperty.Builderformat(java.lang.String value)API name:formatprotected DateRangeProperty.Builderself()Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.RangePropertyBase.AbstractBuilder
boost, coerce, indexMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase.AbstractBuilder
docValuesMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
addCopyTo, copyTo, copyTo, similarity, storeMethods 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, putPropertiesMethods 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:
selfin classPropertyBase.AbstractBuilder<DateRangeProperty.Builder>
-
build
Builds aDateRangeProperty.- Specified by:
buildin interfaceObjectBuilder<DateRangeProperty>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-