Class Values.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.ml.Values.Builder
-
- All Implemented Interfaces:
CopyableBuilder<Values.Builder,Values>,MutableBuilder<Values.Builder,Values>,ObjectBuilder<Values>
- Enclosing class:
- Values
public static class Values.Builder extends ObjectBuilderBase implements CopyableBuilder<Values.Builder,Values>
Builder forValues.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Valuesbuild()Builds aValues.Values.BuildercolumnType(java.lang.String value)The column type.Values.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.Values.Buildervalue(java.lang.Number value)The value.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public Values.Builder copy()
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<Values.Builder,Values>- Returns:
- a new builder instance.
-
columnType
@Nonnull public final Values.Builder columnType(@Nullable java.lang.String value)
The column type.API name:
column_type
-
value
@Nonnull public final Values.Builder value(@Nullable java.lang.Number value)
The value.API name:
value
-
build
@Nonnull public Values build()
Builds aValues.- Specified by:
buildin interfaceObjectBuilder<Values>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-