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