Class IndexingStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.IndexingStats.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexingStats.Builder,,IndexingStats> MutableBuilder<IndexingStats.Builder,,IndexingStats> ObjectBuilder<IndexingStats>
- Enclosing class:
IndexingStats
public static class IndexingStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexingStats.Builder,IndexingStats>
Builder for
IndexingStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexingStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IndexingStats.BuilderdeleteCurrent(long value) Required - The number of current delete operations.final IndexingStats.BuilderAPI name:delete_timefinal IndexingStats.BuilderdeleteTime(Time value) API name:delete_timefinal IndexingStats.BuilderdeleteTimeInMillis(long value) Required - API name:delete_time_in_millisfinal IndexingStats.BuilderdeleteTotal(long value) Required - The total number of delete operations.final IndexingStats.BuilderAPI name:doc_statusfinal IndexingStats.BuilderAPI name:doc_statusfinal IndexingStats.BuilderindexCurrent(long value) Required - The number of current indexing operations.final IndexingStats.BuilderindexFailed(long value) Required - The number of failed indexing operations.final IndexingStats.BuilderThe total amount of time spent on indexing operations.final IndexingStats.BuilderThe total amount of time spent on indexing operations.final IndexingStats.BuilderindexTimeInMillis(long value) Required - The total amount of time spent on indexing operations in milliseconds.final IndexingStats.BuilderindexTotal(long value) Required - The total number of indexing operations.final IndexingStats.BuilderisThrottled(boolean value) Required - Whether indexing is currently throttled.final IndexingStats.BuildernoopUpdateTotal(long value) Required - The total number of noop update operations.final IndexingStats.BuilderThe total amount of time spent throttling indexing operations.final IndexingStats.BuilderthrottleTime(Time value) The total amount of time spent throttling indexing operations.final IndexingStats.BuilderthrottleTimeInMillis(long value) Required - The total amount of time spent throttling indexing operations 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<IndexingStats.Builder,IndexingStats> - Returns:
- a new builder instance.
-
deleteCurrent
Required - The number of current delete operations.API name:
delete_current -
deleteTime
API name:delete_time -
deleteTime
@Nonnull public final IndexingStats.Builder deleteTime(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:delete_time -
deleteTimeInMillis
Required - API name:delete_time_in_millis -
deleteTotal
Required - The total number of delete operations.API name:
delete_total -
docStatus
API name:doc_status -
docStatus
@Nonnull public final IndexingStats.Builder docStatus(Function<DocStatus.Builder, ObjectBuilder<DocStatus>> fn) API name:doc_status -
indexCurrent
Required - The number of current indexing operations.API name:
index_current -
indexFailed
Required - The number of failed indexing operations.API name:
index_failed -
indexTime
The total amount of time spent on indexing operations.API name:
index_time -
indexTime
@Nonnull public final IndexingStats.Builder indexTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The total amount of time spent on indexing operations.API name:
index_time -
indexTimeInMillis
Required - The total amount of time spent on indexing operations in milliseconds.API name:
index_time_in_millis -
indexTotal
Required - The total number of indexing operations.API name:
index_total -
isThrottled
Required - Whether indexing is currently throttled.API name:
is_throttled -
noopUpdateTotal
Required - The total number of noop update operations.API name:
noop_update_total -
throttleTime
The total amount of time spent throttling indexing operations.API name:
throttle_time -
throttleTime
@Nonnull public final IndexingStats.Builder throttleTime(Function<Time.Builder, ObjectBuilder<Time>> fn) The total amount of time spent throttling indexing operations.API name:
throttle_time -
throttleTimeInMillis
Required - The total amount of time spent throttling indexing operations in milliseconds.API name:
throttle_time_in_millis -
build
Builds aIndexingStats.- Specified by:
buildin interfaceObjectBuilder<IndexingStats>- Throws:
NullPointerException- if some of the required fields are null.
-