Class DatabricksProperties


  • public final class DatabricksProperties
    extends Object
    Properties of Databricks.
    • Constructor Detail

      • DatabricksProperties

        public DatabricksProperties()
    • Method Detail

      • 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.