Class ModelStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.ModelStats.Builder
- All Implemented Interfaces:
CopyableBuilder<ModelStats.Builder,,ModelStats> MutableBuilder<ModelStats.Builder,,ModelStats> ObjectBuilder<ModelStats>
- Enclosing class:
ModelStats
public static class ModelStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ModelStats.Builder,ModelStats>
Builder for
ModelStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aModelStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ModelStats.BuildermlActionFailureCount(Long value) The failure count.final ModelStats.BuildermlActionRequestCount(Long value) The request count.final ModelStats.BuildermlExecutingTaskCount(Long value) The executing task count.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<ModelStats.Builder,ModelStats> - Returns:
- a new builder instance.
-
mlActionFailureCount
The failure count.API name:
ml_action_failure_count -
mlActionRequestCount
The request count.API name:
ml_action_request_count -
mlExecutingTaskCount
The executing task count.API name:
ml_executing_task_count -
build
Builds aModelStats.- Specified by:
buildin interfaceObjectBuilder<ModelStats>- Throws:
NullPointerException- if some of the required fields are null.
-