Class CacheItemStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ltr.CacheItemStats.Builder
- All Implemented Interfaces:
CopyableBuilder<CacheItemStats.Builder,,CacheItemStats> MutableBuilder<CacheItemStats.Builder,,CacheItemStats> ObjectBuilder<CacheItemStats>
- Enclosing class:
CacheItemStats
public static class CacheItemStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CacheItemStats.Builder,CacheItemStats>
Builder for
CacheItemStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCacheItemStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final CacheItemStats.BuilderCount of cached items.final CacheItemStats.BuilderMemory usage in bytes.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<CacheItemStats.Builder,CacheItemStats> - Returns:
- a new builder instance.
-
count
Count of cached items.API name:
count -
ram
Memory usage in bytes.API name:
ram -
build
Builds aCacheItemStats.- Specified by:
buildin interfaceObjectBuilder<CacheItemStats>- Throws:
NullPointerException- if some of the required fields are null.
-