Class Breaker.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Breaker.Builder>
co.elastic.clients.elasticsearch.nodes.Breaker.Builder
- All Implemented Interfaces:
WithJson<Breaker.Builder>
,ObjectBuilder<Breaker>
- Enclosing class:
- Breaker
public static class Breaker.Builder extends WithJsonObjectBuilderBase<Breaker.Builder> implements ObjectBuilder<Breaker>
Builder for
Breaker
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Breaker
build()
Builds aBreaker
.Breaker.Builder
estimatedSize(java.lang.String value)
API name:estimated_size
Breaker.Builder
estimatedSizeInBytes(java.lang.Long value)
API name:estimated_size_in_bytes
Breaker.Builder
limitSize(java.lang.String value)
API name:limit_size
Breaker.Builder
limitSizeInBytes(java.lang.Long value)
API name:limit_size_in_bytes
Breaker.Builder
overhead(java.lang.Float value)
API name:overhead
protected Breaker.Builder
self()
Breaker.Builder
tripped(java.lang.Float value)
API name:tripped
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
-
estimatedSize
API name:estimated_size
-
estimatedSizeInBytes
API name:estimated_size_in_bytes
-
limitSize
API name:limit_size
-
limitSizeInBytes
API name:limit_size_in_bytes
-
overhead
API name:overhead
-
tripped
API name:tripped
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Breaker.Builder>
-
build
Builds aBreaker
.- Specified by:
build
in interfaceObjectBuilder<Breaker>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-