Class AddFeaturesToSetByQueryRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ltr.AddFeaturesToSetByQueryRequest
- All Implemented Interfaces:
ToCopyableBuilder<AddFeaturesToSetByQueryRequest.Builder,AddFeaturesToSetByQueryRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class AddFeaturesToSetByQueryRequest
extends RequestBase
implements ToCopyableBuilder<AddFeaturesToSetByQueryRequest.Builder,AddFeaturesToSetByQueryRequest>
Add features to an existing feature set in the default feature store.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "ltr.add_features_to_set_by_query". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) builder()booleaninthashCode()final Booleanmerge()Whether to merge the feature list or append only.final Stringname()Required - The name of the feature set to add features to.of(Function<AddFeaturesToSetByQueryRequest.Builder, ObjectBuilder<AddFeaturesToSetByQueryRequest>> fn) final Stringquery()Required - Query string to filter existing features from the store by name.final Stringrouting()Specific routing value.final Stringstore()The name of the feature store.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Integerversion()Version check to ensure feature set is modified with expected version.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
public static final Endpoint<AddFeaturesToSetByQueryRequest,AddFeaturesToSetByQueryResponse, _ENDPOINTErrorResponse> Endpoint "ltr.add_features_to_set_by_query".
-
-
Method Details
-
of
-
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 -
query
Required - Query string to filter existing features from the store by name. When provided, only features matching this query will be added to the feature set, and no request body should be included.API name:
query -
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 -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AddFeaturesToSetByQueryRequest.Builder,AddFeaturesToSetByQueryRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-