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 GeoIpProcessorbuild()Builds aGeoIpProcessor.GeoIpProcessor.BuilderdatabaseFile(java.lang.String value)API name:database_fileGeoIpProcessor.Builderfield(java.lang.String value)Required - API name:fieldGeoIpProcessor.BuilderfirstOnly(java.lang.Boolean value)API name:first_onlyGeoIpProcessor.BuilderignoreMissing(java.lang.Boolean value)API name:ignore_missingGeoIpProcessor.Builderproperties(java.lang.String value, java.lang.String... values)API name:propertiesGeoIpProcessor.Builderproperties(java.util.List<java.lang.String> list)API name:propertiesprotected GeoIpProcessor.Builderself()GeoIpProcessor.BuildertargetField(java.lang.String value)API name:target_fieldMethods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
description, if_, ignoreFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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
API name:database_file -
field
Required - API name:field -
firstOnly
API name:first_only -
ignoreMissing
API name:ignore_missing -
properties
API name:propertiesAdds all elements of
listtoproperties. -
properties
API name:propertiesAdds one or more values to
properties. -
targetField
API name:target_field -
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<GeoIpProcessor.Builder>
-
build
Builds aGeoIpProcessor.- Specified by:
buildin interfaceObjectBuilder<GeoIpProcessor>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-