Class OCIUtil.OCIModelDeploymentConfig

java.lang.Object
org.tribuo.interop.oci.OCIUtil.OCIModelDeploymentConfig
Enclosing class:
OCIUtil

public static final class OCIUtil.OCIModelDeploymentConfig extends Object
Configuration for an OCI DS Model Deployment.

Not a record, but will be.

  • Field Details

    • dsConfig

      public final OCIUtil.OCIDSConfig dsConfig
      The OCI Data Science config.
    • bandwidth

      public final int bandwidth
      The bandwidth for the load balancer in MBps.
    • instanceCount

      public final int instanceCount
      The number of instances to create.
    • deploymentName

      public final String deploymentName
      The deployment name.
    • shape

      public final String shape
      The instance shape.
    • modelID

      public final String 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.