Class LastGcStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.LastGcStats.Builder
- All Implemented Interfaces:
CopyableBuilder<LastGcStats.Builder,,LastGcStats> MutableBuilder<LastGcStats.Builder,,LastGcStats> ObjectBuilder<LastGcStats>
- Enclosing class:
LastGcStats
public static class LastGcStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<LastGcStats.Builder,LastGcStats>
Builder for
LastGcStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aLastGcStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final LastGcStats.BuilderAPI name:maxfinal LastGcStats.BuildermaxInBytes(Long value) API name:max_in_bytesfinal LastGcStats.BuilderusagePercent(Double value) API name:usage_percentfinal LastGcStats.BuilderAPI name:usedfinal LastGcStats.BuilderusedInBytes(Long value) API name:used_in_bytesMethods 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<LastGcStats.Builder,LastGcStats> - Returns:
- a new builder instance.
-
max
API name:max -
maxInBytes
API name:max_in_bytes -
usagePercent
API name:usage_percent -
used
API name:used -
usedInBytes
API name:used_in_bytes -
build
Builds aLastGcStats.- Specified by:
buildin interfaceObjectBuilder<LastGcStats>- Throws:
NullPointerException- if some of the required fields are null.
-