DatabricksProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.machinelearning.models.DatabricksProperties

Implements

public final class DatabricksProperties
implements JsonSerializable<DatabricksProperties>

Properties of Databricks.

Constructor Summary

Constructor Description
DatabricksProperties()

Creates an instance of DatabricksProperties class.

Method Summary

Modifier and Type Method and Description
String databricksAccessToken()

Get the databricksAccessToken property: Databricks access token.

static DatabricksProperties fromJson(JsonReader jsonReader)

Reads an instance of DatabricksProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DatabricksProperties withDatabricksAccessToken(String databricksAccessToken)

Set the databricksAccessToken property: Databricks access token.

DatabricksProperties withWorkspaceUrl(String workspaceUrl)

Set the workspaceUrl property: Workspace Url.

String workspaceUrl()

Get the workspaceUrl property: Workspace Url.

Methods inherited from java.lang.Object

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.

fromJson

public static DatabricksProperties fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withWorkspaceUrl

public DatabricksProperties withWorkspaceUrl(String workspaceUrl)

Set the workspaceUrl property: Workspace Url.

Parameters:

workspaceUrl - the workspaceUrl value to set.

Returns:

the DatabricksProperties object itself.

workspaceUrl

public String workspaceUrl()

Get the workspaceUrl property: Workspace Url.

Returns:

the workspaceUrl value.

Applies to