Class StoreStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.StoreStats.Builder
- All Implemented Interfaces:
CopyableBuilder<StoreStats.Builder,,StoreStats> MutableBuilder<StoreStats.Builder,,StoreStats> ObjectBuilder<StoreStats>
- Enclosing class:
StoreStats
public static class StoreStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<StoreStats.Builder,StoreStats>
Builder for
StoreStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStoreStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final StoreStats.BuilderAPI name:reservedfinal StoreStats.BuilderreservedInBytes(long value) Required - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.final StoreStats.BuilderAPI name:sizefinal StoreStats.BuildersizeInBytes(long value) Required - The total size, in bytes, of all shards assigned to the selected nodes.Methods 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<StoreStats.Builder,StoreStats> - Returns:
- a new builder instance.
-
reserved
API name:reserved -
reservedInBytes
Required - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.API name:
reserved_in_bytes -
size
API name:size -
sizeInBytes
Required - The total size, in bytes, of all shards assigned to the selected nodes.API name:
size_in_bytes -
build
Builds aStoreStats.- Specified by:
buildin interfaceObjectBuilder<StoreStats>- Throws:
NullPointerException- if some of the required fields are null.
-