Class DatabricksComputeSecrets
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.ComputeSecretsInner
-
- com.azure.resourcemanager.machinelearning.models.DatabricksComputeSecrets
-
public final class DatabricksComputeSecrets extends ComputeSecretsInner
Secrets related to a Machine Learning compute based on Databricks.
-
-
Constructor Summary
Constructors Constructor Description DatabricksComputeSecrets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
databricksAccessToken()
Get the databricksAccessToken property: access token for databricks account.void
validate()
Validates the instance.DatabricksComputeSecrets
withDatabricksAccessToken(String databricksAccessToken)
Set the databricksAccessToken property: access token for databricks account.
-
-
-
Method Detail
-
databricksAccessToken
public String databricksAccessToken()
Get the databricksAccessToken property: access token for databricks account.- Returns:
- the databricksAccessToken value.
-
withDatabricksAccessToken
public DatabricksComputeSecrets withDatabricksAccessToken(String databricksAccessToken)
Set the databricksAccessToken property: access token for databricks account.- Parameters:
databricksAccessToken
- the databricksAccessToken value to set.- Returns:
- the DatabricksComputeSecrets object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classComputeSecretsInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-