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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAllocationRecord.final AllocationRecord.Builderdisk availablefinal AllocationRecord.BuilderdiskIndices(String value) disk used by ES indicesfinal AllocationRecord.BuilderdiskPercent(String value) percent disk usedfinal AllocationRecord.Buildertotal capacity of all volumesfinal AllocationRecord.Builderdisk used (total, not just ES)final AllocationRecord.Builderhost of nodefinal AllocationRecord.Builderip of nodefinal AllocationRecord.Buildername of nodeprotected AllocationRecord.Builderself()final AllocationRecord.Buildernumber 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, _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:
selfin classWithJsonObjectBuilderBase<AllocationRecord.Builder>
-
build
Builds aAllocationRecord.- Specified by:
buildin interfaceObjectBuilder<AllocationRecord>- Throws:
NullPointerException- if some of the required fields are null.
-