Class IndexingSlowlog.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexingSlowlog.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexingSlowlog.Builder,,IndexingSlowlog> MutableBuilder<IndexingSlowlog.Builder,,IndexingSlowlog> ObjectBuilder<IndexingSlowlog>
- Enclosing class:
IndexingSlowlog
public static class IndexingSlowlog.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexingSlowlog.Builder,IndexingSlowlog>
Builder for
IndexingSlowlog.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexingSlowlog.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IndexingSlowlog.BuilderThe log level for slow indexing operations.final IndexingSlowlog.BuilderAPI name:reformatfinal IndexingSlowlog.BuilderAPI name:sourcefinal IndexingSlowlog.BuilderAPI name:thresholdfinal IndexingSlowlog.BuilderAPI name:thresholdMethods 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<IndexingSlowlog.Builder,IndexingSlowlog> - Returns:
- a new builder instance.
-
level
The log level for slow indexing operations.API name:
level -
reformat
API name:reformat -
source
API name:source -
threshold
API name:threshold -
threshold
@Nonnull public final IndexingSlowlog.Builder threshold(Function<IndexingSlowlogThresholds.Builder, ObjectBuilder<IndexingSlowlogThresholds>> fn) API name:threshold -
build
Builds aIndexingSlowlog.- Specified by:
buildin interfaceObjectBuilder<IndexingSlowlog>- Throws:
NullPointerException- if some of the required fields are null.
-