Class MemoryStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase.AbstractBuilder<MemoryStats.Builder>
org.opensearch.client.opensearch.nodes.stats.MemoryStats.Builder
- All Implemented Interfaces:
CopyableBuilder<MemoryStats.Builder,,MemoryStats> MutableBuilder<MemoryStats.Builder,,MemoryStats> ObjectBuilder<MemoryStats>
- Enclosing class:
MemoryStats
public static class MemoryStats.Builder
extends MemoryStatsBase.AbstractBuilder<MemoryStats.Builder>
implements CopyableBuilder<MemoryStats.Builder,MemoryStats>
Builder for
MemoryStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMemoryStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected MemoryStats.Builderself()Methods inherited from class org.opensearch.client.opensearch.nodes.stats.MemoryStatsBase.AbstractBuilder
free, freeInBytes, total, totalInBytes, used, usedInBytesMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<MemoryStats.Builder,MemoryStats> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classMemoryStatsBase.AbstractBuilder<MemoryStats.Builder>
-
build
Builds aMemoryStats.- Specified by:
buildin interfaceObjectBuilder<MemoryStats>- Throws:
NullPointerException- if some of the required fields are null.
-