Class AttachmentProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<AttachmentProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.AttachmentProcessor.Builder
- All Implemented Interfaces:
WithJson<AttachmentProcessor.Builder>,ObjectBuilder<AttachmentProcessor>
- Enclosing class:
- AttachmentProcessor
public static class AttachmentProcessor.Builder
extends ProcessorBase.AbstractBuilder<AttachmentProcessor.Builder>
implements ObjectBuilder<AttachmentProcessor>
Builder for
AttachmentProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAttachmentProcessor.Required - API name:fieldignoreMissing(Boolean value) API name:ignore_missingindexedChars(Long value) API name:indexed_charsindexedCharsField(String value) API name:indexed_chars_fieldproperties(String value, String... values) API name:propertiesproperties(List<String> list) API name:propertiesremoveBinary(Boolean value) API name:remove_binaryresourceName(String value) API name:resource_nameprotected AttachmentProcessor.Builderself()targetField(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
-
field
Required - API name:field -
ignoreMissing
API name:ignore_missing -
indexedChars
API name:indexed_chars -
indexedCharsField
API name:indexed_chars_field -
properties
API name:propertiesAdds all elements of
listtoproperties. -
properties
API name:propertiesAdds one or more values to
properties. -
targetField
API name:target_field -
removeBinary
API name:remove_binary -
resourceName
API name:resource_name -
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<AttachmentProcessor.Builder>
-
build
Builds aAttachmentProcessor.- Specified by:
buildin interfaceObjectBuilder<AttachmentProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-