Class GeoIpProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<GeoIpProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.GeoIpProcessor.Builder
- All Implemented Interfaces:
WithJson<GeoIpProcessor.Builder>
,ObjectBuilder<GeoIpProcessor>
- Enclosing class:
- GeoIpProcessor
public static class GeoIpProcessor.Builder extends ProcessorBase.AbstractBuilder<GeoIpProcessor.Builder> implements ObjectBuilder<GeoIpProcessor>
Builder for
GeoIpProcessor
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GeoIpProcessor
build()
Builds aGeoIpProcessor
.GeoIpProcessor.Builder
databaseFile(java.lang.String value)
Required - API name:database_file
GeoIpProcessor.Builder
field(java.lang.String value)
Required - API name:field
GeoIpProcessor.Builder
firstOnly(boolean value)
Required - API name:first_only
GeoIpProcessor.Builder
ignoreMissing(boolean value)
Required - API name:ignore_missing
GeoIpProcessor.Builder
properties(java.lang.String value, java.lang.String... values)
Required - API name:properties
GeoIpProcessor.Builder
properties(java.util.List<java.lang.String> list)
Required - API name:properties
protected GeoIpProcessor.Builder
self()
GeoIpProcessor.Builder
targetField(java.lang.String value)
Required - API name:target_field
Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
if_, ignoreFailure, onFailure, onFailure, onFailure, tag
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
-
databaseFile
Required - API name:database_file
-
field
Required - API name:field
-
firstOnly
Required - API name:first_only
-
ignoreMissing
Required - API name:ignore_missing
-
properties
Required - API name:properties
Adds all elements of
list
toproperties
. -
properties
Required - API name:properties
Adds one or more values to
properties
. -
targetField
Required - API name:target_field
-
self
- Specified by:
self
in classProcessorBase.AbstractBuilder<GeoIpProcessor.Builder>
-
build
Builds aGeoIpProcessor
.- Specified by:
build
in interfaceObjectBuilder<GeoIpProcessor>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-