Class UndeployModelRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ml.UndeployModelRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<UndeployModelRequest.Builder,UndeployModelRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class UndeployModelRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<UndeployModelRequest.Builder,UndeployModelRequest>
Undeploys 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 JsonpDeserializer<UndeployModelRequest> Json deserializer forUndeployModelRequeststatic final Endpoint<UndeployModelRequest, UndeployModelResponse, ErrorResponse> Endpoint "ml.undeploy_model". -
Method Summary
Modifier and TypeMethodDescriptionstatic UndeployModelRequest.Builderbuilder()booleaninthashCode()final StringmodelId()API name:model_idmodelIds()API name:model_idsnodeIds()API name:node_idsstatic UndeployModelRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate 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.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forUndeployModelRequest -
_ENDPOINT
Endpoint "ml.undeploy_model".
-
-
Method Details
-
of
public static UndeployModelRequest of(Function<UndeployModelRequest.Builder, ObjectBuilder<UndeployModelRequest>> fn) -
modelId
API name:model_id -
modelIds
API name:model_ids -
nodeIds
API name:node_ids -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<UndeployModelRequest.Builder,UndeployModelRequest> - Returns:
- a new builder instance.
-
builder
-
setupUndeployModelRequestDeserializer
protected static void setupUndeployModelRequestDeserializer(ObjectDeserializer<UndeployModelRequest.Builder> op) -
hashCode
public int hashCode() -
equals
-