Class Ingest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.Ingest.Builder
- All Implemented Interfaces:
CopyableBuilder<Ingest.Builder,,Ingest> MutableBuilder<Ingest.Builder,,Ingest> ObjectBuilder<Ingest>
- Enclosing class:
Ingest
public static class Ingest.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Ingest.Builder,Ingest>
Builder for
Ingest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIngest.copy()Create a new builderCopyableBuilderthat is a copy of this one.final Ingest.BuilderContains statistics about ingest pipelines for the node.final Ingest.Builderpipelines(String key, IngestTotal value) Contains statistics about ingest pipelines for the node.final Ingest.Builderpipelines(Map<String, IngestTotal> map) Contains statistics about ingest pipelines for the node.final Ingest.BuilderAPI name:totalfinal Ingest.Buildertotal(IngestTotal value) API name:totalMethods 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<Ingest.Builder,Ingest> - Returns:
- a new builder instance.
-
pipelines
Contains statistics about ingest pipelines for the node.API name:
pipelinesAdds all elements of
maptopipelines. -
pipelines
Contains statistics about ingest pipelines for the node.API name:
pipelinesAdds an entry to
pipelines. -
pipelines
@Nonnull public final Ingest.Builder pipelines(String key, Function<IngestTotal.Builder, ObjectBuilder<IngestTotal>> fn) Contains statistics about ingest pipelines for the node.API name:
pipelinesAdds a value to
pipelinesusing a builder lambda. -
total
API name:total -
total
@Nonnull public final Ingest.Builder total(Function<IngestTotal.Builder, ObjectBuilder<IngestTotal>> fn) API name:total -
build
Builds aIngest.- Specified by:
buildin interfaceObjectBuilder<Ingest>- Throws:
NullPointerException- if some of the required fields are null.
-