Class IpProperty.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<IpProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.IpProperty.Builder
- All Implemented Interfaces:
WithJson<IpProperty.Builder>
,ObjectBuilder<IpProperty>
- Enclosing class:
- IpProperty
public static class IpProperty.Builder extends DocValuesPropertyBase.AbstractBuilder<IpProperty.Builder> implements ObjectBuilder<IpProperty>
Builder for
IpProperty
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IpProperty.Builder
boost(java.lang.Double value)
API name:boost
IpProperty
build()
Builds aIpProperty
.IpProperty.Builder
ignoreMalformed(java.lang.Boolean value)
API name:ignore_malformed
IpProperty.Builder
index(java.lang.Boolean value)
API name:index
IpProperty.Builder
nullValue(java.lang.String value)
API name:null_value
IpProperty.Builder
onScriptError(OnScriptError value)
API name:on_script_error
IpProperty.Builder
script(Script value)
API name:script
IpProperty.Builder
script(java.util.function.Function<Script.Builder,ObjectBuilder<Script>> fn)
API name:script
protected IpProperty.Builder
self()
IpProperty.Builder
timeSeriesDimension(java.lang.Boolean value)
For internal use by Elastic only.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
-
boost
API name:boost
-
index
API name:index
-
ignoreMalformed
API name:ignore_malformed
-
nullValue
API name:null_value
-
onScriptError
API name:on_script_error
-
script
API name:script
-
script
public final IpProperty.Builder script(java.util.function.Function<Script.Builder,ObjectBuilder<Script>> fn)API name:script
-
timeSeriesDimension
For internal use by Elastic only. Marks the field as a time series dimension. Defaults to false.API name:
time_series_dimension
-
self
- Specified by:
self
in classPropertyBase.AbstractBuilder<IpProperty.Builder>
-
build
Builds aIpProperty
.- Specified by:
build
in interfaceObjectBuilder<IpProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-