Class DatabricksProperties

java.lang.Object
com.azure.resourcemanager.machinelearning.models.DatabricksProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<DatabricksProperties>

public final class DatabricksProperties extends Object implements com.azure.json.JsonSerializable<DatabricksProperties>
Properties of Databricks.
  • Constructor Details

    • DatabricksProperties

      public DatabricksProperties()
      Creates an instance of DatabricksProperties class.
  • Method Details

    • databricksAccessToken

      public String databricksAccessToken()
      Get the databricksAccessToken property: Databricks access token.
      Returns:
      the databricksAccessToken value.
    • withDatabricksAccessToken

      public DatabricksProperties withDatabricksAccessToken(String databricksAccessToken)
      Set the databricksAccessToken property: Databricks access token.
      Parameters:
      databricksAccessToken - the databricksAccessToken value to set.
      Returns:
      the DatabricksProperties object itself.
    • workspaceUrl

      public String workspaceUrl()
      Get the workspaceUrl property: Workspace Url.
      Returns:
      the workspaceUrl value.
    • withWorkspaceUrl

      public DatabricksProperties withWorkspaceUrl(String workspaceUrl)
      Set the workspaceUrl property: Workspace Url.
      Parameters:
      workspaceUrl - the workspaceUrl value to set.
      Returns:
      the DatabricksProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<DatabricksProperties>
      Throws:
      IOException
    • fromJson

      public static DatabricksProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of DatabricksProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of DatabricksProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the DatabricksProperties.