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
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AllocationRecordbuild()Builds aAllocationRecord.AllocationRecord.BuilderdiskAvail(java.lang.String value)disk availableAllocationRecord.BuilderdiskIndices(java.lang.String value)disk used by ES indicesAllocationRecord.BuilderdiskPercent(java.lang.String value)percent disk usedAllocationRecord.BuilderdiskTotal(java.lang.String value)total capacity of all volumesAllocationRecord.BuilderdiskUsed(java.lang.String value)disk used (total, not just ES)AllocationRecord.Builderhost(java.lang.String value)host of nodeAllocationRecord.Builderip(java.lang.String value)ip of nodeAllocationRecord.Buildernode(java.lang.String value)name of nodeprotected AllocationRecord.Builderself()AllocationRecord.Buildershards(java.lang.String value)number of shards on nodeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AllocationRecord.Builder>
-
build
Builds aAllocationRecord.- Specified by:
buildin interfaceObjectBuilder<AllocationRecord>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-