Class OperatingSystemMemoryInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<OperatingSystemMemoryInfo.Builder>
co.elastic.clients.elasticsearch.cluster.stats.OperatingSystemMemoryInfo.Builder
- All Implemented Interfaces:
WithJson<OperatingSystemMemoryInfo.Builder>
,ObjectBuilder<OperatingSystemMemoryInfo>
- Enclosing class:
- OperatingSystemMemoryInfo
public static class OperatingSystemMemoryInfo.Builder
extends WithJsonObjectBuilderBase<OperatingSystemMemoryInfo.Builder>
implements ObjectBuilder<OperatingSystemMemoryInfo>
Builder for
OperatingSystemMemoryInfo
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustedTotal
(String value) Total amount of memory across all selected nodes, but using the value specified using thees.total_memory_bytes
system property instead of measured total memory for those nodes where that system property was set.adjustedTotalInBytes
(Long value) Total amount, in bytes, of memory across all selected nodes, but using the value specified using thees.total_memory_bytes
system property instead of measured total memory for those nodes where that system property was set.build()
Builds aOperatingSystemMemoryInfo
.Amount of free physical memory across all selected nodes.freeInBytes
(long value) Required - Amount, in bytes, of free physical memory across all selected nodes.freePercent
(int value) Required - Percentage of free physical memory across all selected nodes.protected OperatingSystemMemoryInfo.Builder
self()
Total amount of physical memory across all selected nodes.totalInBytes
(long value) Required - Total amount, in bytes, of physical memory across all selected nodes.Amount of physical memory in use across all selected nodes.usedInBytes
(long value) Required - Amount, in bytes, of physical memory in use across all selected nodes.usedPercent
(int value) Required - Percentage of physical memory in use across all selected nodes.Methods 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
-
adjustedTotalInBytes
Total amount, in bytes, of memory across all selected nodes, but using the value specified using thees.total_memory_bytes
system property instead of measured total memory for those nodes where that system property was set.API name:
adjusted_total_in_bytes
-
adjustedTotal
Total amount of memory across all selected nodes, but using the value specified using thees.total_memory_bytes
system property instead of measured total memory for those nodes where that system property was set.API name:
adjusted_total
-
freeInBytes
Required - Amount, in bytes, of free physical memory across all selected nodes.API name:
free_in_bytes
-
free
Amount of free physical memory across all selected nodes.API name:
free
-
freePercent
Required - Percentage of free physical memory across all selected nodes.API name:
free_percent
-
totalInBytes
Required - Total amount, in bytes, of physical memory across all selected nodes.API name:
total_in_bytes
-
total
Total amount of physical memory across all selected nodes.API name:
total
-
usedInBytes
Required - Amount, in bytes, of physical memory in use across all selected nodes.API name:
used_in_bytes
-
used
Amount of physical memory in use across all selected nodes.API name:
used
-
usedPercent
Required - Percentage of physical memory in use across all selected nodes.API name:
used_percent
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<OperatingSystemMemoryInfo.Builder>
-
build
Builds aOperatingSystemMemoryInfo
.- Specified by:
build
in interfaceObjectBuilder<OperatingSystemMemoryInfo>
- Throws:
NullPointerException
- if some of the required fields are null.
-