Class MLCommonsSettings

java.lang.Object
com.exoscale.sdk.model.MLCommonsSettings

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class MLCommonsSettings extends Object
MLCommonsSettings
  • Field Details

    • JSON_PROPERTY_ML_COMMONS_MODEL_ACCESS_CONTROL_ENABLED

      public static final String JSON_PROPERTY_ML_COMMONS_MODEL_ACCESS_CONTROL_ENABLED
      See Also:
    • JSON_PROPERTY_ML_COMMONS_NATIVE_MEMORY_THRESHOLD

      public static final String JSON_PROPERTY_ML_COMMONS_NATIVE_MEMORY_THRESHOLD
      See Also:
    • JSON_PROPERTY_ML_COMMONS_ONLY_RUN_ON_ML_NODE

      public static final String JSON_PROPERTY_ML_COMMONS_ONLY_RUN_ON_ML_NODE
      See Also:
  • Constructor Details

    • MLCommonsSettings

      public MLCommonsSettings()
  • Method Details

    • mlCommonsModelAccessControlEnabled

      public MLCommonsSettings mlCommonsModelAccessControlEnabled(Boolean mlCommonsModelAccessControlEnabled)
    • getMlCommonsModelAccessControlEnabled

      @Nullable public Boolean getMlCommonsModelAccessControlEnabled()
      Enable or disable model access control for ML Commons. When enabled, access to ML models is controlled by security permissions. Defaults to false.
      Returns:
      mlCommonsModelAccessControlEnabled
    • setMlCommonsModelAccessControlEnabled

      public void setMlCommonsModelAccessControlEnabled(Boolean mlCommonsModelAccessControlEnabled)
    • mlCommonsNativeMemoryThreshold

      public MLCommonsSettings mlCommonsNativeMemoryThreshold(Integer mlCommonsNativeMemoryThreshold)
    • getMlCommonsNativeMemoryThreshold

      @Nullable public Integer getMlCommonsNativeMemoryThreshold()
      Native memory threshold percentage for ML Commons. Controls the maximum percentage of native memory that can be used by ML Commons operations. Defaults to 90%. minimum: 1 maximum: 100
      Returns:
      mlCommonsNativeMemoryThreshold
    • setMlCommonsNativeMemoryThreshold

      public void setMlCommonsNativeMemoryThreshold(Integer mlCommonsNativeMemoryThreshold)
    • mlCommonsOnlyRunOnMlNode

      public MLCommonsSettings mlCommonsOnlyRunOnMlNode(Boolean mlCommonsOnlyRunOnMlNode)
    • getMlCommonsOnlyRunOnMlNode

      @Nullable public Boolean getMlCommonsOnlyRunOnMlNode()
      Enable or disable running ML Commons tasks only on ML nodes. When enabled, ML tasks will only execute on nodes designated as ML nodes. Defaults to true.
      Returns:
      mlCommonsOnlyRunOnMlNode
    • setMlCommonsOnlyRunOnMlNode

      public void setMlCommonsOnlyRunOnMlNode(Boolean mlCommonsOnlyRunOnMlNode)
    • equals

      public boolean equals(Object o)
      Return true if this ML_Commons_settings object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string