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 Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AttachmentProcessor
build()
Builds aAttachmentProcessor
.AttachmentProcessor.Builder
field(java.lang.String value)
Required - API name:field
AttachmentProcessor.Builder
ignoreMissing(java.lang.Boolean value)
API name:ignore_missing
AttachmentProcessor.Builder
indexedChars(java.lang.Long value)
API name:indexed_chars
AttachmentProcessor.Builder
indexedCharsField(java.lang.String value)
API name:indexed_chars_field
AttachmentProcessor.Builder
properties(java.lang.String value, java.lang.String... values)
API name:properties
AttachmentProcessor.Builder
properties(java.util.List<java.lang.String> list)
API name:properties
AttachmentProcessor.Builder
resourceName(java.lang.String value)
API name:resource_name
protected AttachmentProcessor.Builder
self()
AttachmentProcessor.Builder
targetField(java.lang.String value)
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
-
field
Required - API name:field
-
ignoreMissing
API name:ignore_missing
-
indexedChars
API name:indexed_chars
-
indexedCharsField
API name:indexed_chars_field
-
properties
API name:properties
Adds all elements of
list
toproperties
. -
properties
public final AttachmentProcessor.Builder properties(java.lang.String value, java.lang.String... values)API name:properties
Adds one or more values to
properties
. -
targetField
API name:target_field
-
resourceName
API name:resource_name
-
self
- Specified by:
self
in classProcessorBase.AbstractBuilder<AttachmentProcessor.Builder>
-
build
Builds aAttachmentProcessor
.- Specified by:
build
in interfaceObjectBuilder<AttachmentProcessor>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-