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 TypeMethodDescriptionaddMlCommonsTrustedConnectorEndpointsRegexItem(String mlCommonsTrustedConnectorEndpointsRegexItem) booleanReturn true if this ML_Commons_settings object is equal to o.When set to true, the setting allows admins to control access and permissions to the connector API using backend_roles.Maximum number of ML models that can be deployed on a single ML node.Enable or disable model access control for ML Commons.For externally hosted models only: automatically deploy a model on its first predict request instead of requiring an explicit deploy call first.Automatically redeploy deployed or partially deployed models after ML nodes rejoin the cluster, e.g.Native memory threshold percentage for ML Commons.Enable or disable running ML Commons tasks only on ML nodes.Adds the trusted endpoints to the cluster settings.inthashCode()mlCommonsConnectorAccessControlEnabled(Boolean mlCommonsConnectorAccessControlEnabled) mlCommonsMaxModelOnNode(Integer mlCommonsMaxModelOnNode) mlCommonsModelAccessControlEnabled(Boolean mlCommonsModelAccessControlEnabled) mlCommonsModelAutoDeployEnable(Boolean mlCommonsModelAutoDeployEnable) mlCommonsModelAutoRedeployEnable(Boolean mlCommonsModelAutoRedeployEnable) mlCommonsNativeMemoryThreshold(Integer mlCommonsNativeMemoryThreshold) mlCommonsOnlyRunOnMlNode(Boolean mlCommonsOnlyRunOnMlNode) mlCommonsTrustedConnectorEndpointsRegex(List<String> mlCommonsTrustedConnectorEndpointsRegex) voidsetMlCommonsConnectorAccessControlEnabled(Boolean mlCommonsConnectorAccessControlEnabled) voidsetMlCommonsMaxModelOnNode(Integer mlCommonsMaxModelOnNode) voidsetMlCommonsModelAccessControlEnabled(Boolean mlCommonsModelAccessControlEnabled) voidsetMlCommonsModelAutoDeployEnable(Boolean mlCommonsModelAutoDeployEnable) voidsetMlCommonsModelAutoRedeployEnable(Boolean mlCommonsModelAutoRedeployEnable) voidsetMlCommonsNativeMemoryThreshold(Integer mlCommonsNativeMemoryThreshold) voidsetMlCommonsOnlyRunOnMlNode(Boolean mlCommonsOnlyRunOnMlNode) voidsetMlCommonsTrustedConnectorEndpointsRegex(List<String> mlCommonsTrustedConnectorEndpointsRegex) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ML_COMMONS_CONNECTOR_ACCESS_CONTROL_ENABLED
- See Also:
-
JSON_PROPERTY_ML_COMMONS_MAX_MODEL_ON_NODE
- See Also:
-
JSON_PROPERTY_ML_COMMONS_MODEL_ACCESS_CONTROL_ENABLED
- See Also:
-
JSON_PROPERTY_ML_COMMONS_MODEL_AUTO_DEPLOY_ENABLE
- See Also:
-
JSON_PROPERTY_ML_COMMONS_MODEL_AUTO_REDEPLOY_ENABLE
- See Also:
-
JSON_PROPERTY_ML_COMMONS_NATIVE_MEMORY_THRESHOLD
- See Also:
-
JSON_PROPERTY_ML_COMMONS_ONLY_RUN_ON_ML_NODE
- See Also:
-
JSON_PROPERTY_ML_COMMONS_TRUSTED_CONNECTOR_ENDPOINTS_REGEX
- See Also:
-
-
Constructor Details
-
MLCommonsSettings
public MLCommonsSettings()
-
-
Method Details
-
mlCommonsConnectorAccessControlEnabled
public MLCommonsSettings mlCommonsConnectorAccessControlEnabled(Boolean mlCommonsConnectorAccessControlEnabled) -
getMlCommonsConnectorAccessControlEnabled
When set to true, the setting allows admins to control access and permissions to the connector API using backend_roles. Defaults to false.- Returns:
- mlCommonsConnectorAccessControlEnabled
-
setMlCommonsConnectorAccessControlEnabled
public void setMlCommonsConnectorAccessControlEnabled(Boolean mlCommonsConnectorAccessControlEnabled) -
mlCommonsMaxModelOnNode
-
getMlCommonsMaxModelOnNode
Maximum number of ML models that can be deployed on a single ML node. Defaults to 10. minimum: 1- Returns:
- mlCommonsMaxModelOnNode
-
setMlCommonsMaxModelOnNode
-
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
-
mlCommonsModelAutoDeployEnable
-
getMlCommonsModelAutoDeployEnable
For externally hosted models only: automatically deploy a model on its first predict request instead of requiring an explicit deploy call first. Defaults to true.- Returns:
- mlCommonsModelAutoDeployEnable
-
setMlCommonsModelAutoDeployEnable
-
mlCommonsModelAutoRedeployEnable
-
getMlCommonsModelAutoRedeployEnable
Automatically redeploy deployed or partially deployed models after ML nodes rejoin the cluster, e.g. after a node replacement. Defaults to true.- Returns:
- mlCommonsModelAutoRedeployEnable
-
setMlCommonsModelAutoRedeployEnable
-
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
-
mlCommonsTrustedConnectorEndpointsRegex
public MLCommonsSettings mlCommonsTrustedConnectorEndpointsRegex(List<String> mlCommonsTrustedConnectorEndpointsRegex) -
addMlCommonsTrustedConnectorEndpointsRegexItem
public MLCommonsSettings addMlCommonsTrustedConnectorEndpointsRegexItem(String mlCommonsTrustedConnectorEndpointsRegexItem) -
getMlCommonsTrustedConnectorEndpointsRegex
-
setMlCommonsTrustedConnectorEndpointsRegex
-
equals
-
hashCode
-
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
-