AzureDatabricksDeltaLakeLinkedService.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/** Azure Databricks Delta Lake linked service. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("AzureDatabricksDeltaLake")
@JsonFlatten
@Fluent
public class AzureDatabricksDeltaLakeLinkedService extends LinkedService {
/*
* <REGION>.azuredatabricks.net, domain name of your Databricks deployment.
* Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.domain", required = true)
private Object domain;
/*
* Access token for databricks REST API. Refer to
* https://docs.azuredatabricks.net/api/latest/authentication.html. Type:
* string, SecureString or AzureKeyVaultSecretReference.
*/
@JsonProperty(value = "typeProperties.accessToken", required = true)
private SecretBase accessToken;
/*
* The id of an existing interactive cluster that will be used for all runs
* of this job. Type: string (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.clusterId")
private Object clusterId;
/*
* The encrypted credential used for authentication. Credentials are
* encrypted using the integration runtime credential manager. Type: string
* (or Expression with resultType string).
*/
@JsonProperty(value = "typeProperties.encryptedCredential")
private Object encryptedCredential;
/**
* Get the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
* string (or Expression with resultType string).
*
* @return the domain value.
*/
public Object getDomain() {
return this.domain;
}
/**
* Set the domain property: <REGION>.azuredatabricks.net, domain name of your Databricks deployment. Type:
* string (or Expression with resultType string).
*
* @param domain the domain value to set.
* @return the AzureDatabricksDeltaLakeLinkedService object itself.
*/
public AzureDatabricksDeltaLakeLinkedService setDomain(Object domain) {
this.domain = domain;
return this;
}
/**
* Get the accessToken property: Access token for databricks REST API. Refer to
* https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*
* @return the accessToken value.
*/
public SecretBase getAccessToken() {
return this.accessToken;
}
/**
* Set the accessToken property: Access token for databricks REST API. Refer to
* https://docs.azuredatabricks.net/api/latest/authentication.html. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*
* @param accessToken the accessToken value to set.
* @return the AzureDatabricksDeltaLakeLinkedService object itself.
*/
public AzureDatabricksDeltaLakeLinkedService setAccessToken(SecretBase accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* Get the clusterId property: The id of an existing interactive cluster that will be used for all runs of this job.
* Type: string (or Expression with resultType string).
*
* @return the clusterId value.
*/
public Object getClusterId() {
return this.clusterId;
}
/**
* Set the clusterId property: The id of an existing interactive cluster that will be used for all runs of this job.
* Type: string (or Expression with resultType string).
*
* @param clusterId the clusterId value to set.
* @return the AzureDatabricksDeltaLakeLinkedService object itself.
*/
public AzureDatabricksDeltaLakeLinkedService setClusterId(Object clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted
* using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
* @return the encryptedCredential value.
*/
public Object getEncryptedCredential() {
return this.encryptedCredential;
}
/**
* Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted
* using the integration runtime credential manager. Type: string (or Expression with resultType string).
*
* @param encryptedCredential the encryptedCredential value to set.
* @return the AzureDatabricksDeltaLakeLinkedService object itself.
*/
public AzureDatabricksDeltaLakeLinkedService setEncryptedCredential(Object encryptedCredential) {
this.encryptedCredential = encryptedCredential;
return this;
}
}