Class PredictRequestStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.PredictRequestStats.Builder
- All Implemented Interfaces:
CopyableBuilder<PredictRequestStats.Builder,,PredictRequestStats> MutableBuilder<PredictRequestStats.Builder,,PredictRequestStats> ObjectBuilder<PredictRequestStats>
- Enclosing class:
PredictRequestStats
public static class PredictRequestStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PredictRequestStats.Builder,PredictRequestStats>
Builder for
PredictRequestStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe average latency in milliseconds.build()Builds aPredictRequestStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.The total predict requests on this node.The maximum latency in milliseconds.The minimum latency in milliseconds.The 50th percentile latency in milliseconds.The 90th percentile latency in milliseconds.The 99th percentile latency in milliseconds.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<PredictRequestStats.Builder,PredictRequestStats> - Returns:
- a new builder instance.
-
average
The average latency in milliseconds.API name:
average -
count
The total predict requests on this node.API name:
count -
max
The maximum latency in milliseconds.API name:
max -
min
The minimum latency in milliseconds.API name:
min -
p50
The 50th percentile latency in milliseconds.API name:
p50 -
p90
The 90th percentile latency in milliseconds.API name:
p90 -
p99
The 99th percentile latency in milliseconds.API name:
p99 -
build
Builds aPredictRequestStats.- Specified by:
buildin interfaceObjectBuilder<PredictRequestStats>- Throws:
NullPointerException- if some of the required fields are null.
-