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)Required - API name:database_fileGeoIpProcessor.Builderfield(java.lang.String value)Required - API name:fieldGeoIpProcessor.BuilderfirstOnly(boolean value)Required - API name:first_onlyGeoIpProcessor.BuilderignoreMissing(boolean value)Required - API name:ignore_missingGeoIpProcessor.Builderproperties(java.lang.String value, java.lang.String... values)Required - API name:propertiesGeoIpProcessor.Builderproperties(java.util.List<java.lang.String> list)Required - API name:propertiesprotected GeoIpProcessor.Builderself()GeoIpProcessor.BuildertargetField(java.lang.String value)Required - API name:target_fieldMethods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder
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
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:propertiesAdds all elements of
listtoproperties. -
properties
Required - API name:propertiesAdds one or more values to
properties. -
targetField
Required - 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.
-