Class OperatingSystemMemoryInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cluster.stats.OperatingSystemMemoryInfo.Builder
- All Implemented Interfaces:
ObjectBuilder<OperatingSystemMemoryInfo>
- Enclosing class:
- OperatingSystemMemoryInfo
public static class OperatingSystemMemoryInfo.Builder extends ObjectBuilderBase implements ObjectBuilder<OperatingSystemMemoryInfo>
Builder for
OperatingSystemMemoryInfo.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description OperatingSystemMemoryInfo.BuilderadjustedTotalInBytes(java.lang.Long value)API name:adjusted_total_in_bytesOperatingSystemMemoryInfobuild()Builds aOperatingSystemMemoryInfo.OperatingSystemMemoryInfo.BuilderfreeInBytes(long value)Required - API name:free_in_bytesOperatingSystemMemoryInfo.BuilderfreePercent(int value)Required - API name:free_percentOperatingSystemMemoryInfo.BuildertotalInBytes(long value)Required - API name:total_in_bytesOperatingSystemMemoryInfo.BuilderusedInBytes(long value)Required - API name:used_in_bytesOperatingSystemMemoryInfo.BuilderusedPercent(int value)Required - API name:used_percentMethods 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
-
freeInBytes
Required - API name:free_in_bytes -
freePercent
Required - API name:free_percent -
totalInBytes
Required - API name:total_in_bytes -
usedInBytes
Required - API name:used_in_bytes -
usedPercent
Required - API name:used_percent -
adjustedTotalInBytes
public final OperatingSystemMemoryInfo.Builder adjustedTotalInBytes(@Nullable java.lang.Long value)API name:adjusted_total_in_bytes -
build
Builds aOperatingSystemMemoryInfo.- Specified by:
buildin interfaceObjectBuilder<OperatingSystemMemoryInfo>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-