Class IndexingSlowlogThresholds.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.IndexingSlowlogThresholds.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndexingSlowlogThresholds>
- Enclosing class:
- IndexingSlowlogThresholds
public static class IndexingSlowlogThresholds.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexingSlowlogThresholds>
Builder forIndexingSlowlogThresholds.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexingSlowlogThresholdsbuild()Builds aIndexingSlowlogThresholds.IndexingSlowlogThresholds.Builderindex(java.util.function.Function<SlowlogThresholdLevels.Builder,ObjectBuilder<SlowlogThresholdLevels>> fn)The indexing slow log, similar in functionality to the search slow log.IndexingSlowlogThresholds.Builderindex(SlowlogThresholdLevels value)The indexing slow log, similar in functionality to the search slow log.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
index
public final IndexingSlowlogThresholds.Builder index(@Nullable SlowlogThresholdLevels value)
The indexing slow log, similar in functionality to the search slow log. The log file name ends with_index_indexing_slowlog.json. Log and the thresholds are configured in the same way as the search slowlog.API name:
index
-
index
public final IndexingSlowlogThresholds.Builder index(java.util.function.Function<SlowlogThresholdLevels.Builder,ObjectBuilder<SlowlogThresholdLevels>> fn)
The indexing slow log, similar in functionality to the search slow log. The log file name ends with_index_indexing_slowlog.json. Log and the thresholds are configured in the same way as the search slowlog.API name:
index
-
build
public IndexingSlowlogThresholds build()
Builds aIndexingSlowlogThresholds.- Specified by:
buildin interfaceObjectBuilder<IndexingSlowlogThresholds>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-