Class SearchModelsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ltr.SearchModelsRequest
- All Implemented Interfaces:
ToCopyableBuilder<SearchModelsRequest.Builder,SearchModelsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class SearchModelsRequest
extends RequestBase
implements ToCopyableBuilder<SearchModelsRequest.Builder,SearchModelsRequest>
Search for models in a 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 TypeFieldDescriptionstatic final Endpoint<SearchModelsRequest, SearchModelsResponse, ErrorResponse> Endpoint "ltr.search_models". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static SearchModelsRequest.Builderbuilder()booleanfinal Integerfrom()The offset from the first result (for pagination).inthashCode()static SearchModelsRequestfinal Stringprefix()A name prefix to filter models by.final Integersize()The number of models to return.final Stringstore()The name of the feature store.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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
Endpoint "ltr.search_models".
-
-
Method Details
-
of
public static SearchModelsRequest of(Function<SearchModelsRequest.Builder, ObjectBuilder<SearchModelsRequest>> fn) -
from
The offset from the first result (for pagination).API name:
from -
prefix
A name prefix to filter models by.API name:
prefix -
size
The number of models to return.API name:
size -
store
The name of the feature store.API name:
store -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SearchModelsRequest.Builder,SearchModelsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-