Class MLDeployModelInput
java.lang.Object
org.opensearch.ml.common.transport.deploy.MLDeployModelInput
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable
public class MLDeployModelInput
extends Object
implements org.opensearch.core.common.io.stream.Writeable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionMLDeployModelInput(String modelId, String taskId, String modelContentHash, Integer nodeCount, String coordinatingNodeId, Boolean isDeployToAllNodes, MLTask mlTask) MLDeployModelInput(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()voidsetCoordinatingNodeId(String coordinatingNodeId) voidsetIsDeployToAllNodes(Boolean isDeployToAllNodes) voidvoidsetModelContentHash(String modelContentHash) voidsetModelId(String modelId) voidsetNodeCount(Integer nodeCount) voidtoString()voidwriteTo(org.opensearch.core.common.io.stream.StreamOutput out)
-
Constructor Details
-
MLDeployModelInput
- Throws:
IOException
-
MLDeployModelInput
-
MLDeployModelInput
public MLDeployModelInput()
-
-
Method Details
-
writeTo
- Specified by:
writeToin interfaceorg.opensearch.core.common.io.stream.Writeable- Throws:
IOException
-
builder
-
getModelId
-
getTaskId
-
getModelContentHash
-
getNodeCount
-
getCoordinatingNodeId
-
getIsDeployToAllNodes
-
getMlTask
-
setModelId
-
setTaskId
-
setModelContentHash
-
setNodeCount
-
setCoordinatingNodeId
-
setIsDeployToAllNodes
-
setMlTask
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-