Class IndexingSlowlog.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.indices.IndexingSlowlog.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndexingSlowlog>
- Enclosing class:
- IndexingSlowlog
public static class IndexingSlowlog.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexingSlowlog>
Builder forIndexingSlowlog.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexingSlowlogbuild()Builds aIndexingSlowlog.IndexingSlowlog.Builderlevel(java.lang.String value)API name:levelIndexingSlowlog.Builderreformat(java.lang.Boolean value)API name:reformatIndexingSlowlog.Buildersource(java.lang.Integer value)API name:sourceIndexingSlowlog.Builderthreshold(java.util.function.Function<IndexingSlowlogThresholds.Builder,ObjectBuilder<IndexingSlowlogThresholds>> fn)API name:thresholdIndexingSlowlog.Builderthreshold(IndexingSlowlogThresholds value)API name:threshold-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
level
public final IndexingSlowlog.Builder level(@Nullable java.lang.String value)
API name:level
-
source
public final IndexingSlowlog.Builder source(@Nullable java.lang.Integer value)
API name:source
-
reformat
public final IndexingSlowlog.Builder reformat(@Nullable java.lang.Boolean value)
API name:reformat
-
threshold
public final IndexingSlowlog.Builder threshold(@Nullable IndexingSlowlogThresholds value)
API name:threshold
-
threshold
public final IndexingSlowlog.Builder threshold(java.util.function.Function<IndexingSlowlogThresholds.Builder,ObjectBuilder<IndexingSlowlogThresholds>> fn)
API name:threshold
-
build
public IndexingSlowlog build()
Builds aIndexingSlowlog.- Specified by:
buildin interfaceObjectBuilder<IndexingSlowlog>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-