Class DotExpanderProcessor.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ingest.ProcessorBase.AbstractBuilder<DotExpanderProcessor.Builder>
org.opensearch.client.opensearch.ingest.DotExpanderProcessor.Builder
- All Implemented Interfaces:
CopyableBuilder<DotExpanderProcessor.Builder,,DotExpanderProcessor> MutableBuilder<DotExpanderProcessor.Builder,,DotExpanderProcessor> ObjectBuilder<DotExpanderProcessor>
- Enclosing class:
DotExpanderProcessor
public static class DotExpanderProcessor.Builder
extends ProcessorBase.AbstractBuilder<DotExpanderProcessor.Builder>
implements CopyableBuilder<DotExpanderProcessor.Builder,DotExpanderProcessor>
Builder for
DotExpanderProcessor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDotExpanderProcessor.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:fieldThe field that contains the field to expand.protected DotExpanderProcessor.Builderself()Methods 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<DotExpanderProcessor.Builder,DotExpanderProcessor> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classProcessorBase.AbstractBuilder<DotExpanderProcessor.Builder>
-
field
Required - API name:field -
path
The field that contains the field to expand. Only required if the field to expand is part another object field, because thefieldoption can only understand leaf fields.API name:
path -
build
Builds aDotExpanderProcessor.- Specified by:
buildin interfaceObjectBuilder<DotExpanderProcessor>- Throws:
NullPointerException- if some of the required fields are null.
-