Class Pool.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.Pool.Builder
- All Implemented Interfaces:
ObjectBuilder<Pool>
- Enclosing class:
- Pool
public static class Pool.Builder extends ObjectBuilderBase implements ObjectBuilder<Pool>
Builder for
Pool
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Pool
build()
Builds aPool
.Pool.Builder
maxInBytes(java.lang.Long value)
API name:max_in_bytes
Pool.Builder
peakMaxInBytes(java.lang.Long value)
API name:peak_max_in_bytes
Pool.Builder
peakUsedInBytes(java.lang.Long value)
API name:peak_used_in_bytes
Pool.Builder
usedInBytes(java.lang.Long value)
API name:used_in_bytes
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
-
usedInBytes
API name:used_in_bytes
-
maxInBytes
API name:max_in_bytes
-
peakUsedInBytes
API name:peak_used_in_bytes
-
peakMaxInBytes
API name:peak_max_in_bytes
-
build
Builds aPool
.- Specified by:
build
in interfaceObjectBuilder<Pool>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-