Class RemoteStoreUploadRefreshSizeLagStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RemoteStoreUploadRefreshSizeLagStats.Builder
- All Implemented Interfaces:
CopyableBuilder<RemoteStoreUploadRefreshSizeLagStats.Builder,,RemoteStoreUploadRefreshSizeLagStats> MutableBuilder<RemoteStoreUploadRefreshSizeLagStats.Builder,,RemoteStoreUploadRefreshSizeLagStats> ObjectBuilder<RemoteStoreUploadRefreshSizeLagStats>
- Enclosing class:
RemoteStoreUploadRefreshSizeLagStats
public static class RemoteStoreUploadRefreshSizeLagStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<RemoteStoreUploadRefreshSizeLagStats.Builder,RemoteStoreUploadRefreshSizeLagStats>
Builder for
RemoteStoreUploadRefreshSizeLagStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRemoteStoreUploadRefreshSizeLagStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.maxBytes(long value) Required - The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.totalBytes(long value) Required - The total number of bytes that lagged during the upload refresh between the remote segment store and the local 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<RemoteStoreUploadRefreshSizeLagStats.Builder,RemoteStoreUploadRefreshSizeLagStats> - Returns:
- a new builder instance.
-
max
The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.API name:
max -
maxBytes
Required - The maximum amount of lag, in bytes, during the upload refresh between the remote segment store and the local store.API name:
max_bytes -
total
The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.API name:
total -
totalBytes
Required - The total number of bytes that lagged during the upload refresh between the remote segment store and the local store.API name:
total_bytes -
build
Builds aRemoteStoreUploadRefreshSizeLagStats.- Specified by:
buildin interfaceObjectBuilder<RemoteStoreUploadRefreshSizeLagStats>- Throws:
NullPointerException- if some of the required fields are null.
-