Class RemoteStoreUploadDownloadStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RemoteStoreUploadDownloadStats.Builder
- All Implemented Interfaces:
CopyableBuilder<RemoteStoreUploadDownloadStats.Builder,,RemoteStoreUploadDownloadStats> MutableBuilder<RemoteStoreUploadDownloadStats.Builder,,RemoteStoreUploadDownloadStats> ObjectBuilder<RemoteStoreUploadDownloadStats>
- Enclosing class:
RemoteStoreUploadDownloadStats
public static class RemoteStoreUploadDownloadStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<RemoteStoreUploadDownloadStats.Builder,RemoteStoreUploadDownloadStats>
Builder for
RemoteStoreUploadDownloadStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRemoteStoreUploadDownloadStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.The number of bytes that failed to upload to/from the remote segment store.failedBytes(long value) Required - The number of bytes that failed to upload to/from the remote segment store.The number of bytes to upload/download to/from the remote segment store after the upload/download has started.startedBytes(long value) Required - The number of bytes to upload/download to/from the remote segment store after the upload/download has started.The number of bytes successfully uploaded/downloaded to/from the remote segment store.succeededBytes(long value) Required - The number of bytes successfully uploaded/downloaded to/from the remote segment store.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<RemoteStoreUploadDownloadStats.Builder,RemoteStoreUploadDownloadStats> - Returns:
- a new builder instance.
-
failed
The number of bytes that failed to upload to/from the remote segment store.API name:
failed -
failedBytes
Required - The number of bytes that failed to upload to/from the remote segment store.API name:
failed_bytes -
started
The number of bytes to upload/download to/from the remote segment store after the upload/download has started.API name:
started -
startedBytes
Required - The number of bytes to upload/download to/from the remote segment store after the upload/download has started.API name:
started_bytes -
succeeded
The number of bytes successfully uploaded/downloaded to/from the remote segment store.API name:
succeeded -
succeededBytes
Required - The number of bytes successfully uploaded/downloaded to/from the remote segment store.API name:
succeeded_bytes -
build
Builds aRemoteStoreUploadDownloadStats.- Specified by:
buildin interfaceObjectBuilder<RemoteStoreUploadDownloadStats>- Throws:
NullPointerException- if some of the required fields are null.
-