Class LoadModelRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.LoadModelRequest
- All Implemented Interfaces:
ToCopyableBuilder<LoadModelRequest.Builder,LoadModelRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class LoadModelRequest
extends RequestBase
implements ToCopyableBuilder<LoadModelRequest.Builder,LoadModelRequest>
Deploys a model.
-
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<LoadModelRequest, LoadModelResponse, ErrorResponse> Endpoint "ml.load_model". -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadModelRequest.Builderbuilder()booleaninthashCode()final StringmodelId()Required - API name:model_idstatic LoadModelRequestCreate 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 "ml.load_model".
-
-
Method Details
-
of
public static LoadModelRequest of(Function<LoadModelRequest.Builder, ObjectBuilder<LoadModelRequest>> fn) -
modelId
Required - API name:model_id -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LoadModelRequest.Builder,LoadModelRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-