Class FieldSizeUsage.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.FieldSizeUsage.Builder
- All Implemented Interfaces:
CopyableBuilder<FieldSizeUsage.Builder,,FieldSizeUsage> MutableBuilder<FieldSizeUsage.Builder,,FieldSizeUsage> ObjectBuilder<FieldSizeUsage>
- Enclosing class:
FieldSizeUsage
public static class FieldSizeUsage.Builder
extends ObjectBuilderBase
implements CopyableBuilder<FieldSizeUsage.Builder,FieldSizeUsage>
Builder for
FieldSizeUsage.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFieldSizeUsage.copy()Create a new builderCopyableBuilderthat is a copy of this one.final FieldSizeUsage.BuilderThe human-readable size of memory used.final FieldSizeUsage.BuildersizeInBytes(long value) Required - The size of memory used in bytes.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<FieldSizeUsage.Builder,FieldSizeUsage> - Returns:
- a new builder instance.
-
size
The human-readable size of memory used.API name:
size -
sizeInBytes
Required - The size of memory used in bytes.API name:
size_in_bytes -
build
Builds aFieldSizeUsage.- Specified by:
buildin interfaceObjectBuilder<FieldSizeUsage>- Throws:
NullPointerException- if some of the required fields are null.
-