Class GetModelRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ltr.GetModelRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetModelRequest.Builder,GetModelRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetModelRequest
extends RequestBase
implements ToCopyableBuilder<GetModelRequest.Builder,GetModelRequest>
Get a model from 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 TypeFieldDescriptionstatic final Endpoint<GetModelRequest, GetModelResponse, ErrorResponse> Endpoint "ltr.get_model". -
Method Summary
Modifier and TypeMethodDescriptionstatic GetModelRequest.Builderbuilder()booleaninthashCode()final Stringid()Required - The name of the model.static GetModelRequestfinal 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
applyQueryParameters, 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.get_model".
-
-
Method Details
-
of
public static GetModelRequest of(Function<GetModelRequest.Builder, ObjectBuilder<GetModelRequest>> fn) -
id
Required - The name of the model.API name:
id -
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<GetModelRequest.Builder,GetModelRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-