Class ColumnMeta.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.ColumnMeta.Builder
- All Implemented Interfaces:
CopyableBuilder<ColumnMeta.Builder,,ColumnMeta> MutableBuilder<ColumnMeta.Builder,,ColumnMeta> ObjectBuilder<ColumnMeta>
- Enclosing class:
ColumnMeta
public static class ColumnMeta.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ColumnMeta.Builder,ColumnMeta>
Builder for
ColumnMeta.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aColumnMeta.final ColumnMeta.BuildercolumnType(String value) The column type.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ColumnMeta.BuilderAPI name:nameMethods 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<ColumnMeta.Builder,ColumnMeta> - Returns:
- a new builder instance.
-
columnType
The column type.API name:
column_type -
name
API name:name -
build
Builds aColumnMeta.- Specified by:
buildin interfaceObjectBuilder<ColumnMeta>- Throws:
NullPointerException- if some of the required fields are null.
-