Class FieldMemoryUsage.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.FieldMemoryUsage.Builder
-
- All Implemented Interfaces:
ObjectBuilder<FieldMemoryUsage>
- Enclosing class:
- FieldMemoryUsage
public static class FieldMemoryUsage.Builder extends ObjectBuilderBase implements ObjectBuilder<FieldMemoryUsage>
Builder forFieldMemoryUsage
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldMemoryUsage
build()
Builds aFieldMemoryUsage
.FieldMemoryUsage.Builder
memorySize(java.lang.String value)
API name:memory_size
FieldMemoryUsage.Builder
memorySizeInBytes(long value)
Required - API name:memory_size_in_bytes
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
memorySize
public final FieldMemoryUsage.Builder memorySize(@Nullable java.lang.String value)
API name:memory_size
-
memorySizeInBytes
public final FieldMemoryUsage.Builder memorySizeInBytes(long value)
Required - API name:memory_size_in_bytes
-
build
public FieldMemoryUsage build()
Builds aFieldMemoryUsage
.- Specified by:
build
in interfaceObjectBuilder<FieldMemoryUsage>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-