Class Status.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.tasks.Status.Builder
- All Implemented Interfaces:
CopyableBuilder<Status.Builder,,Status> MutableBuilder<Status.Builder,,Status> ObjectBuilder<Status>
- Enclosing class:
Status
public static class Status.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Status.Builder,Status>
Builder for
Status.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Status.BuilderThe number of scroll responses pulled back by the reindex operation.build()Builds aStatus.final Status.BuilderAPI name:canceledcopy()Create a new builderCopyableBuilderthat is a copy of this one.final Status.BuilderThe number of documents that were successfully created.final Status.BuilderThe number of documents that were successfully deleted.final Status.BuilderAdds an entry tometadata.final Status.BuilderAdds all elements ofmaptometadata.final Status.BuilderThe number of documents that were ignored.final Status.BuilderAPI name:phasefinal Status.BuilderrequestsPerSecond(Float value) The number of requests per second effectively executed during the reindex operation.final Status.BuilderAPI name:retriesfinal Status.BuilderAPI name:retriesfinal Status.BuilderAPI name:slice_idfinal Status.Builderslices(Function<BulkByScrollTaskStatusOrException.Builder, ObjectBuilder<BulkByScrollTaskStatusOrException>> fn) API name:slicesfinal Status.BuilderAPI name:slicesfinal Status.Builderslices(BulkByScrollTaskStatusOrException value, BulkByScrollTaskStatusOrException... values) API name:slicesfinal Status.BuilderAPI name:statefinal Status.BuilderAPI name:throttledfinal Status.BuilderAPI name:throttledfinal Status.BuilderthrottledMillis(Long value) API name:throttled_millisfinal Status.BuilderThe amount time before the throttling will end.final Status.BuilderthrottledUntil(Time value) The amount time before the throttling will end.final Status.BuilderthrottledUntilMillis(Long value) When the throttling will end in milliseconds.final Status.BuilderThe number of documents that were successfully processed.final Status.BuilderThe number of documents that were successfully updated after the reindex operation.final Status.BuilderversionConflicts(Long value) The number of version conflicts encountered by the reindex operation.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<Status.Builder,Status> - Returns:
- a new builder instance.
-
batches
The number of scroll responses pulled back by the reindex operation.API name:
batches -
canceled
API name:canceled -
created
The number of documents that were successfully created.API name:
created -
deleted
The number of documents that were successfully deleted.API name:
deleted -
metadata
Adds all elements of
maptometadata. -
metadata
Adds an entry to
metadata. -
noops
The number of documents that were ignored.API name:
noops -
phase
API name:phase -
requestsPerSecond
The number of requests per second effectively executed during the reindex operation.API name:
requests_per_second -
retries
API name:retries -
retries
API name:retries -
sliceId
API name:slice_id -
slices
API name:slicesAdds all elements of
listtoslices. -
slices
@Nonnull public final Status.Builder slices(BulkByScrollTaskStatusOrException value, BulkByScrollTaskStatusOrException... values) API name:slicesAdds one or more values to
slices. -
slices
@Nonnull public final Status.Builder slices(Function<BulkByScrollTaskStatusOrException.Builder, ObjectBuilder<BulkByScrollTaskStatusOrException>> fn) API name:slicesAdds a value to
slicesusing a builder lambda. -
state
API name:state -
throttled
API name:throttled -
throttled
API name:throttled -
throttledMillis
API name:throttled_millis -
throttledUntil
The amount time before the throttling will end.API name:
throttled_until -
throttledUntil
The amount time before the throttling will end.API name:
throttled_until -
throttledUntilMillis
When the throttling will end in milliseconds.API name:
throttled_until_millis -
total
The number of documents that were successfully processed.API name:
total -
updated
The number of documents that were successfully updated after the reindex operation.API name:
updated -
versionConflicts
The number of version conflicts encountered by the reindex operation.API name:
version_conflicts -
build
Builds aStatus.- Specified by:
buildin interfaceObjectBuilder<Status>- Throws:
NullPointerException- if some of the required fields are null.
-