Package org.tribuo.interop.oci
Class OCIUtil.OCIModelDeploymentConfig
java.lang.Object
org.tribuo.interop.oci.OCIUtil.OCIModelDeploymentConfig
- Enclosing class:
- OCIUtil
Configuration for an OCI DS Model Deployment.
Not a record, but will be.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
The bandwidth for the load balancer in MBps.final String
The deployment name.final OCIUtil.OCIDSConfig
The OCI Data Science config.final int
The number of instances to create.final String
The ID of the model artifact to deploy.final String
The instance shape. -
Constructor Summary
ConstructorDescriptionOCIModelDeploymentConfig
(OCIUtil.OCIDSConfig dsConfig, String modelID, String deploymentName, String shape, int bandwidth, int instanceCount) Constructs an OCI DS Model Deployment configuration. -
Method Summary
-
Field Details
-
dsConfig
The OCI Data Science config. -
bandwidth
public final int bandwidthThe bandwidth for the load balancer in MBps. -
instanceCount
public final int instanceCountThe number of instances to create. -
deploymentName
The deployment name. -
shape
The instance shape. -
modelID
The ID of the model artifact to deploy.
-
-
Constructor Details
-
OCIModelDeploymentConfig
public OCIModelDeploymentConfig(OCIUtil.OCIDSConfig dsConfig, String modelID, String deploymentName, String shape, int bandwidth, int instanceCount) Constructs an OCI DS Model Deployment configuration.- Parameters:
dsConfig
- The OCI Data Science config.modelID
- The ID of the model artifact to deploy.deploymentName
- The model deployment name.shape
- The instance shape.bandwidth
- The bandwidth for the load balancer in MBps (minimum value is 10).instanceCount
- The number of instances to spawn.
-