Class BytesProcessor.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ingest.ProcessorBase.AbstractBuilder<BytesProcessor.Builder>
org.opensearch.client.opensearch.ingest.BytesProcessor.Builder
- All Implemented Interfaces:
CopyableBuilder<BytesProcessor.Builder,,BytesProcessor> MutableBuilder<BytesProcessor.Builder,,BytesProcessor> ObjectBuilder<BytesProcessor>
- Enclosing class:
BytesProcessor
public static class BytesProcessor.Builder
extends ProcessorBase.AbstractBuilder<BytesProcessor.Builder>
implements CopyableBuilder<BytesProcessor.Builder,BytesProcessor>
Builder for
BytesProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aBytesProcessor.copy()Create a new builderCopyableBuilderthat is a copy of this one.final BytesProcessor.BuilderRequired - API name:fieldfinal BytesProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.protected BytesProcessor.Builderself()final BytesProcessor.BuildertargetField(String value) API name:target_fieldMethods inherited from class org.opensearch.client.opensearch.ingest.ProcessorBase.AbstractBuilder
description, if_, ignoreFailure, onFailure, onFailure, onFailure, tagMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<BytesProcessor.Builder,BytesProcessor> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<BytesProcessor.Builder>
-
field
Required - API name:field -
ignoreMissing
Iftrueandfielddoes not exist or isnull, the processor quietly exits without modifying the document.API name:
ignore_missing -
targetField
API name:target_field -
build
Builds aBytesProcessor.- Specified by:
buildin interfaceObjectBuilder<BytesProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-