Class SlowlogThresholdLevels.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.SlowlogThresholdLevels.Builder
- All Implemented Interfaces:
CopyableBuilder<SlowlogThresholdLevels.Builder,,SlowlogThresholdLevels> MutableBuilder<SlowlogThresholdLevels.Builder,,SlowlogThresholdLevels> ObjectBuilder<SlowlogThresholdLevels>
- Enclosing class:
SlowlogThresholdLevels
public static class SlowlogThresholdLevels.Builder
extends ObjectBuilderBase
implements CopyableBuilder<SlowlogThresholdLevels.Builder,SlowlogThresholdLevels>
Builder for
SlowlogThresholdLevels.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSlowlogThresholdLevels.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:debugAPI name:debugAPI name:infoAPI name:infoAPI name:traceAPI name:traceAPI name:warnAPI name:warnMethods 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<SlowlogThresholdLevels.Builder,SlowlogThresholdLevels> - Returns:
- a new builder instance.
-
debug
API name:debug -
debug
@Nonnull public final SlowlogThresholdLevels.Builder debug(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:debug -
info
API name:info -
info
@Nonnull public final SlowlogThresholdLevels.Builder info(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:info -
trace
API name:trace -
trace
@Nonnull public final SlowlogThresholdLevels.Builder trace(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:trace -
warn
API name:warn -
warn
@Nonnull public final SlowlogThresholdLevels.Builder warn(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:warn -
build
Builds aSlowlogThresholdLevels.- Specified by:
buildin interfaceObjectBuilder<SlowlogThresholdLevels>- Throws:
NullPointerException- if some of the required fields are null.
-