Class SlowlogTresholdLevels.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SlowlogTresholdLevels.Builder>
co.elastic.clients.elasticsearch.indices.SlowlogTresholdLevels.Builder
- All Implemented Interfaces:
WithJson<SlowlogTresholdLevels.Builder>
,ObjectBuilder<SlowlogTresholdLevels>
- Enclosing class:
- SlowlogTresholdLevels
public static class SlowlogTresholdLevels.Builder extends WithJsonObjectBuilderBase<SlowlogTresholdLevels.Builder> implements ObjectBuilder<SlowlogTresholdLevels>
Builder for
SlowlogTresholdLevels
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description SlowlogTresholdLevels
build()
Builds aSlowlogTresholdLevels
.SlowlogTresholdLevels.Builder
debug(Time value)
API name:debug
SlowlogTresholdLevels.Builder
debug(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:debug
SlowlogTresholdLevels.Builder
info(Time value)
API name:info
SlowlogTresholdLevels.Builder
info(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:info
protected SlowlogTresholdLevels.Builder
self()
SlowlogTresholdLevels.Builder
trace(Time value)
API name:trace
SlowlogTresholdLevels.Builder
trace(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:trace
SlowlogTresholdLevels.Builder
warn(Time value)
API name:warn
SlowlogTresholdLevels.Builder
warn(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:warn
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
warn
API name:warn
-
warn
public final SlowlogTresholdLevels.Builder warn(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:warn
-
info
API name:info
-
info
public final SlowlogTresholdLevels.Builder info(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:info
-
debug
API name:debug
-
debug
public final SlowlogTresholdLevels.Builder debug(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:debug
-
trace
API name:trace
-
trace
public final SlowlogTresholdLevels.Builder trace(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:trace
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<SlowlogTresholdLevels.Builder>
-
build
Builds aSlowlogTresholdLevels
.- Specified by:
build
in interfaceObjectBuilder<SlowlogTresholdLevels>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-