Class AllocationRecord.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.allocation.AllocationRecord.Builder
- All Implemented Interfaces:
ObjectBuilder<AllocationRecord>
- Enclosing class:
- AllocationRecord
public static class AllocationRecord.Builder extends ObjectBuilderBase implements ObjectBuilder<AllocationRecord>
Builder for
AllocationRecord
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AllocationRecord
build()
Builds aAllocationRecord
.AllocationRecord.Builder
diskAvail(java.lang.String value)
disk availableAllocationRecord.Builder
diskIndices(java.lang.String value)
disk used by ES indicesAllocationRecord.Builder
diskPercent(java.lang.String value)
percent disk usedAllocationRecord.Builder
diskTotal(java.lang.String value)
total capacity of all volumesAllocationRecord.Builder
diskUsed(java.lang.String value)
disk used (total, not just ES)AllocationRecord.Builder
host(java.lang.String value)
host of nodeAllocationRecord.Builder
ip(java.lang.String value)
ip of nodeAllocationRecord.Builder
node(java.lang.String value)
name of nodeAllocationRecord.Builder
shards(java.lang.String value)
number of shards on nodeMethods 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
-
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
-
build
Builds aAllocationRecord
.- Specified by:
build
in interfaceObjectBuilder<AllocationRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-