Class CacheAllStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ltr.CacheAllStats.Builder
- All Implemented Interfaces:
CopyableBuilder<CacheAllStats.Builder,,CacheAllStats> MutableBuilder<CacheAllStats.Builder,,CacheAllStats> ObjectBuilder<CacheAllStats>
- Enclosing class:
CacheAllStats
public static class CacheAllStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<CacheAllStats.Builder,CacheAllStats>
Builder for
CacheAllStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCacheAllStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final CacheAllStats.BuilderAPI name:featuresfinal CacheAllStats.Builderfeatures(CacheItemStats value) API name:featuresfinal CacheAllStats.BuilderAPI name:featuresetsfinal CacheAllStats.Builderfeaturesets(CacheItemStats value) API name:featuresetsfinal CacheAllStats.BuilderAPI name:modelsfinal CacheAllStats.Buildermodels(CacheItemStats value) API name:modelsfinal CacheAllStats.BuilderAPI name:totalfinal CacheAllStats.Buildertotal(CacheItemStats value) API name:totalMethods 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<CacheAllStats.Builder,CacheAllStats> - Returns:
- a new builder instance.
-
features
API name:features -
features
@Nonnull public final CacheAllStats.Builder features(Function<CacheItemStats.Builder, ObjectBuilder<CacheItemStats>> fn) API name:features -
featuresets
API name:featuresets -
featuresets
@Nonnull public final CacheAllStats.Builder featuresets(Function<CacheItemStats.Builder, ObjectBuilder<CacheItemStats>> fn) API name:featuresets -
models
API name:models -
models
@Nonnull public final CacheAllStats.Builder models(Function<CacheItemStats.Builder, ObjectBuilder<CacheItemStats>> fn) API name:models -
total
API name:total -
total
@Nonnull public final CacheAllStats.Builder total(Function<CacheItemStats.Builder, ObjectBuilder<CacheItemStats>> fn) API name:total -
build
Builds aCacheAllStats.- Specified by:
buildin interfaceObjectBuilder<CacheAllStats>- Throws:
NullPointerException- if some of the required fields are null.
-