Class AddFeaturesToSetRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<AddFeaturesToSetRequest.Builder>
org.opensearch.client.opensearch.ltr.AddFeaturesToSetRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<AddFeaturesToSetRequest.Builder,,AddFeaturesToSetRequest> MutableBuilder<AddFeaturesToSetRequest.Builder,,AddFeaturesToSetRequest> ObjectBuilder<AddFeaturesToSetRequest>
- Enclosing class:
AddFeaturesToSetRequest
public static class AddFeaturesToSetRequest.Builder
extends RequestBase.AbstractBuilder<AddFeaturesToSetRequest.Builder>
implements CopyableBuilder<AddFeaturesToSetRequest.Builder,AddFeaturesToSetRequest>
Builder for
AddFeaturesToSetRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAddFeaturesToSetRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.Whether to merge the feature list or append only.Required - The name of the feature set to add features to.Specific routing value.protected AddFeaturesToSetRequest.Builderself()The name of the feature store.Version check to ensure feature set is modified with expected version.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<AddFeaturesToSetRequest.Builder,AddFeaturesToSetRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<AddFeaturesToSetRequest.Builder>
-
merge
Whether to merge the feature list or append only.API name:
merge -
name
Required - The name of the feature set to add features to.API name:
name -
routing
Specific routing value.API name:
routing -
store
The name of the feature store.API name:
store -
version
Version check to ensure feature set is modified with expected version.API name:
version -
build
Builds aAddFeaturesToSetRequest.- Specified by:
buildin interfaceObjectBuilder<AddFeaturesToSetRequest>- Throws:
NullPointerException- if some of the required fields are null.
-