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