Package com.exoscale.sdk.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ML_Commons_settings object is equal to o.Enable or disable model access control for ML Commons.Native memory threshold percentage for ML Commons.Enable or disable running ML Commons tasks only on ML nodes.inthashCode()mlCommonsModelAccessControlEnabled(Boolean mlCommonsModelAccessControlEnabled) mlCommonsNativeMemoryThreshold(Integer mlCommonsNativeMemoryThreshold) mlCommonsOnlyRunOnMlNode(Boolean mlCommonsOnlyRunOnMlNode) voidsetMlCommonsModelAccessControlEnabled(Boolean mlCommonsModelAccessControlEnabled) voidsetMlCommonsNativeMemoryThreshold(Integer mlCommonsNativeMemoryThreshold) voidsetMlCommonsOnlyRunOnMlNode(Boolean mlCommonsOnlyRunOnMlNode) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ML_COMMONS_MODEL_ACCESS_CONTROL_ENABLED
- See Also:
-
JSON_PROPERTY_ML_COMMONS_NATIVE_MEMORY_THRESHOLD
- See Also:
-
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
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
-
mlCommonsNativeMemoryThreshold
-
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
-
mlCommonsOnlyRunOnMlNode
-
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
-
equals
Return true if this ML_Commons_settings object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-