Class Processor.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.Processor.Builder
- All Implemented Interfaces:
CopyableBuilder<Processor.Builder,,Processor> MutableBuilder<Processor.Builder,,Processor> ObjectBuilder<Processor>
- Enclosing class:
Processor
public static class Processor.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Processor.Builder,Processor>
Builder for
Processor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aProcessor.copy()Create a new builderCopyableBuilderthat is a copy of this one.final Processor.BuilderNumber of documents transformed by the processor.final Processor.BuilderNumber of documents currently being transformed by the processor.final Processor.BuilderNumber of failed operations for the processor.final Processor.BuilderAPI name:timefinal Processor.BuilderAPI name:timefinal Processor.BuildertimeInMillis(Long value) API name:time_in_millisMethods 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<Processor.Builder,Processor> - Returns:
- a new builder instance.
-
count
Number of documents transformed by the processor.API name:
count -
current
Number of documents currently being transformed by the processor.API name:
current -
failed
Number of failed operations for the processor.API name:
failed -
time
API name:time -
time
API name:time -
timeInMillis
API name:time_in_millis -
build
Builds aProcessor.- Specified by:
buildin interfaceObjectBuilder<Processor>- Throws:
NullPointerException- if some of the required fields are null.
-