Class Memory.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.ml.Memory.Builder
-
- All Implemented Interfaces:
ObjectBuilder<Memory>
- Enclosing class:
- Memory
public static class Memory.Builder extends ObjectBuilderBase implements ObjectBuilder<Memory>
Builder forMemory.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Memorybuild()Builds aMemory.Memory.Buildertype(java.lang.String value)API name:type-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
type
public final Memory.Builder type(@Nullable java.lang.String value)
API name:type
-
build
public Memory build()
Builds aMemory.- Specified by:
buildin interfaceObjectBuilder<Memory>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-