Class Rows.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.Rows.Builder
- All Implemented Interfaces:
CopyableBuilder<Rows.Builder,,Rows> MutableBuilder<Rows.Builder,,Rows> ObjectBuilder<Rows>
- Enclosing class:
Rows
public static class Rows.Builder
extends ObjectBuilderBase
implements CopyableBuilder<Rows.Builder,Rows>
Builder for
Rows.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRows.copy()Create a new builderCopyableBuilderthat is a copy of this one.final Rows.BuilderAPI name:valuesfinal Rows.BuilderAPI name:valuesfinal Rows.BuilderAPI name:valuesMethods 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<Rows.Builder,Rows> - Returns:
- a new builder instance.
-
values
API name:valuesAdds all elements of
listtovalues. -
values
API name:valuesAdds one or more values to
values. -
values
API name:valuesAdds a value to
valuesusing a builder lambda. -
build
Builds aRows.- Specified by:
buildin interfaceObjectBuilder<Rows>- Throws:
NullPointerException- if some of the required fields are null.
-