Class AllocationRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AllocationRecord.Builder>
co.elastic.clients.elasticsearch.cat.allocation.AllocationRecord.Builder
- All Implemented Interfaces:
WithJson<AllocationRecord.Builder>
,ObjectBuilder<AllocationRecord>
- Enclosing class:
- AllocationRecord
public static class AllocationRecord.Builder
extends WithJsonObjectBuilderBase<AllocationRecord.Builder>
implements ObjectBuilder<AllocationRecord>
Builder for
AllocationRecord
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAllocationRecord
.final AllocationRecord.Builder
disk availablefinal AllocationRecord.Builder
diskIndices
(String value) disk used by ES indicesfinal AllocationRecord.Builder
diskPercent
(String value) percent disk usedfinal AllocationRecord.Builder
total capacity of all volumesfinal AllocationRecord.Builder
disk used (total, not just ES)final AllocationRecord.Builder
host of nodefinal AllocationRecord.Builder
ip of nodefinal AllocationRecord.Builder
name of nodeprotected AllocationRecord.Builder
self()
final AllocationRecord.Builder
number of shards on nodeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
shards
number of shards on nodeAPI name:
shards
-
diskIndices
disk used by ES indicesAPI name:
disk.indices
-
diskUsed
disk used (total, not just ES)API name:
disk.used
-
diskAvail
disk availableAPI name:
disk.avail
-
diskTotal
total capacity of all volumesAPI name:
disk.total
-
diskPercent
percent disk usedAPI name:
disk.percent
-
host
host of nodeAPI name:
host
-
ip
ip of nodeAPI name:
ip
-
node
name of nodeAPI name:
node
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<AllocationRecord.Builder>
-
build
Builds aAllocationRecord
.- Specified by:
build
in interfaceObjectBuilder<AllocationRecord>
- Throws:
NullPointerException
- if some of the required fields are null.
-