Class CreateModelRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ltr.CreateModelRequest
- All Implemented Interfaces:
ToCopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class CreateModelRequest
extends RequestBase
implements ToCopyableBuilder<CreateModelRequest.Builder,CreateModelRequest>
Create or update a model 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 TypeFieldDescriptionstatic final Endpoint<CreateModelRequest, CreateModelResponse, ErrorResponse> Endpoint "ltr.create_model". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static CreateModelRequest.Builderbuilder()booleaninthashCode()final Stringid()Required - The name of the model.static CreateModelRequestfinal 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.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.create_model".
-
-
Method Details
-
of
public static CreateModelRequest of(Function<CreateModelRequest.Builder, ObjectBuilder<CreateModelRequest>> fn) -
id
Required - The name of the model.API name:
id -
routing
Specific routing value.API name:
routing -
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<CreateModelRequest.Builder,CreateModelRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-