Class GetStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.GetStats.Builder
- All Implemented Interfaces:
CopyableBuilder<GetStats.Builder,,GetStats> MutableBuilder<GetStats.Builder,,GetStats> ObjectBuilder<GetStats>
- Enclosing class:
GetStats
public static class GetStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GetStats.Builder,GetStats>
Builder for
GetStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final GetStats.Buildercurrent(long value) Required - The number of current get operations.final GetStats.BuilderAPI name:exists_timefinal GetStats.BuilderexistsTime(Time value) API name:exists_timefinal GetStats.BuilderexistsTimeInMillis(long value) Required - API name:exists_time_in_millisfinal GetStats.BuilderexistsTotal(long value) Required - The total number of successful get operations.final GetStats.BuilderAPI name:missing_timefinal GetStats.BuildermissingTime(Time value) API name:missing_timefinal GetStats.BuildermissingTimeInMillis(long value) Required - API name:missing_time_in_millisfinal GetStats.BuildermissingTotal(long value) Required - The total number of failed get operations due to missing documents.final GetStats.BuilderAPI name:timefinal GetStats.BuilderAPI name:timefinal GetStats.BuildertimeInMillis(long value) Required - API name:time_in_millisfinal GetStats.Buildertotal(long value) Required - The total number of get operations.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<GetStats.Builder,GetStats> - Returns:
- a new builder instance.
-
current
Required - The number of current get operations.API name:
current -
existsTime
API name:exists_time -
existsTime
API name:exists_time -
existsTimeInMillis
Required - API name:exists_time_in_millis -
existsTotal
Required - The total number of successful get operations.API name:
exists_total -
missingTime
API name:missing_time -
missingTime
API name:missing_time -
missingTimeInMillis
Required - API name:missing_time_in_millis -
missingTotal
Required - The total number of failed get operations due to missing documents.API name:
missing_total -
time
API name:time -
time
API name:time -
timeInMillis
Required - API name:time_in_millis -
total
Required - The total number of get operations.API name:
total -
build
Builds aGetStats.- Specified by:
buildin interfaceObjectBuilder<GetStats>- Throws:
NullPointerException- if some of the required fields are null.
-