Class ClusterJvmMemory.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cluster.stats.ClusterJvmMemory.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ClusterJvmMemory>
- Enclosing class:
- ClusterJvmMemory
public static class ClusterJvmMemory.Builder extends ObjectBuilderBase implements ObjectBuilder<ClusterJvmMemory>
Builder forClusterJvmMemory.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterJvmMemorybuild()Builds aClusterJvmMemory.ClusterJvmMemory.BuilderheapMaxInBytes(long value)Required - API name:heap_max_in_bytesClusterJvmMemory.BuilderheapUsedInBytes(long value)Required - API name:heap_used_in_bytes-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
heapMaxInBytes
public final ClusterJvmMemory.Builder heapMaxInBytes(long value)
Required - API name:heap_max_in_bytes
-
heapUsedInBytes
public final ClusterJvmMemory.Builder heapUsedInBytes(long value)
Required - API name:heap_used_in_bytes
-
build
public ClusterJvmMemory build()
Builds aClusterJvmMemory.- Specified by:
buildin interfaceObjectBuilder<ClusterJvmMemory>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-