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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGeoIpProcessor.final GeoIpProcessor.BuilderdatabaseFile(String value) API name:database_filefinal GeoIpProcessor.BuilderRequired - API name:fieldfinal GeoIpProcessor.BuilderAPI name:first_onlyfinal GeoIpProcessor.BuilderignoreMissing(Boolean value) API name:ignore_missingfinal GeoIpProcessor.Builderproperties(String value, String... values) API name:propertiesfinal GeoIpProcessor.Builderproperties(List<String> list) API name:propertiesprotected GeoIpProcessor.Builderself()final GeoIpProcessor.BuildertargetField(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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-