Class IndexingSlowlogSettings.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexingSlowlogSettings.Builder>
co.elastic.clients.elasticsearch.indices.IndexingSlowlogSettings.Builder
- All Implemented Interfaces:
WithJson<IndexingSlowlogSettings.Builder>,ObjectBuilder<IndexingSlowlogSettings>
- Enclosing class:
- IndexingSlowlogSettings
public static class IndexingSlowlogSettings.Builder
extends WithJsonObjectBuilderBase<IndexingSlowlogSettings.Builder>
implements ObjectBuilder<IndexingSlowlogSettings>
Builder for
IndexingSlowlogSettings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexingSlowlogSettings.API name:levelAPI name:reformatprotected IndexingSlowlogSettings.Builderself()API name:sourceAPI name:thresholdAPI name:thresholdMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
level
API name:level -
source
API name:source -
reformat
API name:reformat -
threshold
API name:threshold -
threshold
public final IndexingSlowlogSettings.Builder threshold(Function<IndexingSlowlogTresholds.Builder, ObjectBuilder<IndexingSlowlogTresholds>> fn) API name:threshold -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexingSlowlogSettings.Builder>
-
build
Builds aIndexingSlowlogSettings.- Specified by:
buildin interfaceObjectBuilder<IndexingSlowlogSettings>- Throws:
NullPointerException- if some of the required fields are null.
-