Class GetModelRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.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>
Retrieves 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<GetModelRequest, GetModelResponse, ErrorResponse> Endpoint "ml.get_model". -
Method Summary
Modifier and TypeMethodDescriptionstatic GetModelRequest.Builderbuilder()booleaninthashCode()final StringmodelId()Required - API name:model_idstatic GetModelRequestCreate 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.get_model".
-
-
Method Details
-
of
public static GetModelRequest of(Function<GetModelRequest.Builder, ObjectBuilder<GetModelRequest>> 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<GetModelRequest.Builder,GetModelRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-