Class DeleteModelRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.DeleteModelRequest
- All Implemented Interfaces:
ToCopyableBuilder<DeleteModelRequest.Builder,DeleteModelRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class DeleteModelRequest
extends RequestBase
implements ToCopyableBuilder<DeleteModelRequest.Builder,DeleteModelRequest>
Deletes 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<DeleteModelRequest, DeleteModelResponse, ErrorResponse> Endpoint "ml.delete_model". -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteModelRequest.Builderbuilder()booleaninthashCode()final StringmodelId()Required - API name:model_idstatic DeleteModelRequestCreate 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.delete_model".
-
-
Method Details
-
of
public static DeleteModelRequest of(Function<DeleteModelRequest.Builder, ObjectBuilder<DeleteModelRequest>> 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<DeleteModelRequest.Builder,DeleteModelRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-