Class BulkByScrollTaskStatus.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.BulkByScrollTaskStatus.Builder
- All Implemented Interfaces:
CopyableBuilder<BulkByScrollTaskStatus.Builder,,BulkByScrollTaskStatus> MutableBuilder<BulkByScrollTaskStatus.Builder,,BulkByScrollTaskStatus> ObjectBuilder<BulkByScrollTaskStatus>
- Enclosing class:
BulkByScrollTaskStatus
public static class BulkByScrollTaskStatus.Builder
extends ObjectBuilderBase
implements CopyableBuilder<BulkByScrollTaskStatus.Builder,BulkByScrollTaskStatus>
Builder for
BulkByScrollTaskStatus.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbatches(int value) Required - The number of scroll responses pulled back by the reindex operation.build()Builds aBulkByScrollTaskStatus.API name:canceledcopy()Create a new builderCopyableBuilderthat is a copy of this one.The number of documents that were successfully created.deleted(long value) Required - The number of documents that were successfully deleted.noops(long value) Required - The number of documents that were ignored.requestsPerSecond(float value) Required - The number of requests per second effectively executed during the reindex operation.Required - API name:retriesRequired - API name:retriesAPI name:slice_idslices(Function<BulkByScrollTaskStatusOrException.Builder, ObjectBuilder<BulkByScrollTaskStatusOrException>> fn) API name:slicesAPI name:slicesslices(BulkByScrollTaskStatusOrException value, BulkByScrollTaskStatusOrException... values) API name:slicesAPI name:throttledAPI name:throttledthrottledMillis(long value) Required - API name:throttled_millisThe amount time before the throttling will end.throttledUntil(Time value) The amount time before the throttling will end.throttledUntilMillis(long value) Required - When the throttling will end in milliseconds.total(long value) Required - The number of documents that were successfully processed.The number of documents that were successfully updated after the reindex operation.versionConflicts(long value) Required - 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<BulkByScrollTaskStatus.Builder,BulkByScrollTaskStatus> - Returns:
- a new builder instance.
-
batches
Required - 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
Required - The number of documents that were successfully deleted.API name:
deleted -
noops
Required - The number of documents that were ignored.API name:
noops -
requestsPerSecond
Required - The number of requests per second effectively executed during the reindex operation.API name:
requests_per_second -
retries
Required - API name:retries -
retries
@Nonnull public final BulkByScrollTaskStatus.Builder retries(Function<Retries.Builder, ObjectBuilder<Retries>> fn) Required - API name:retries -
sliceId
API name:slice_id -
slices
@Nonnull public final BulkByScrollTaskStatus.Builder slices(List<BulkByScrollTaskStatusOrException> list) API name:slicesAdds all elements of
listtoslices. -
slices
@Nonnull public final BulkByScrollTaskStatus.Builder slices(BulkByScrollTaskStatusOrException value, BulkByScrollTaskStatusOrException... values) API name:slicesAdds one or more values to
slices. -
slices
@Nonnull public final BulkByScrollTaskStatus.Builder slices(Function<BulkByScrollTaskStatusOrException.Builder, ObjectBuilder<BulkByScrollTaskStatusOrException>> fn) API name:slicesAdds a value to
slicesusing a builder lambda. -
throttled
API name:throttled -
throttled
@Nonnull public final BulkByScrollTaskStatus.Builder throttled(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:throttled -
throttledMillis
Required - API name:throttled_millis -
throttledUntil
The amount time before the throttling will end.API name:
throttled_until -
throttledUntil
@Nonnull public final BulkByScrollTaskStatus.Builder throttledUntil(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount time before the throttling will end.API name:
throttled_until -
throttledUntilMillis
Required - When the throttling will end in milliseconds.API name:
throttled_until_millis -
total
Required - 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
Required - The number of version conflicts encountered by the reindex operation.API name:
version_conflicts -
build
Builds aBulkByScrollTaskStatus.- Specified by:
buildin interfaceObjectBuilder<BulkByScrollTaskStatus>- Throws:
NullPointerException- if some of the required fields are null.
-