TeradataLinkedService.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;
/** Linked service for Teradata data source. */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "type")
@JsonTypeName("Teradata")
@JsonFlatten
@Fluent
public class TeradataLinkedService extends LinkedService {
/*
* Teradata ODBC connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*/
@JsonProperty(value = "typeProperties.connectionString")
private Object connectionString;
/*
* Server name for connection. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.server")
private Object server;
/*
* AuthenticationType to be used for connection.
*/
@JsonProperty(value = "typeProperties.authenticationType")
private TeradataAuthenticationType authenticationType;
/*
* Username for authentication. Type: string (or Expression with resultType
* string).
*/
@JsonProperty(value = "typeProperties.username")
private Object username;
/*
* Password for authentication.
*/
@JsonProperty(value = "typeProperties.password")
private SecretBase password;
/*
* 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 connectionString property: Teradata ODBC connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*
* @return the connectionString value.
*/
public Object getConnectionString() {
return this.connectionString;
}
/**
* Set the connectionString property: Teradata ODBC connection string. Type: string, SecureString or
* AzureKeyVaultSecretReference.
*
* @param connectionString the connectionString value to set.
* @return the TeradataLinkedService object itself.
*/
public TeradataLinkedService setConnectionString(Object connectionString) {
this.connectionString = connectionString;
return this;
}
/**
* Get the server property: Server name for connection. Type: string (or Expression with resultType string).
*
* @return the server value.
*/
public Object getServer() {
return this.server;
}
/**
* Set the server property: Server name for connection. Type: string (or Expression with resultType string).
*
* @param server the server value to set.
* @return the TeradataLinkedService object itself.
*/
public TeradataLinkedService setServer(Object server) {
this.server = server;
return this;
}
/**
* Get the authenticationType property: AuthenticationType to be used for connection.
*
* @return the authenticationType value.
*/
public TeradataAuthenticationType getAuthenticationType() {
return this.authenticationType;
}
/**
* Set the authenticationType property: AuthenticationType to be used for connection.
*
* @param authenticationType the authenticationType value to set.
* @return the TeradataLinkedService object itself.
*/
public TeradataLinkedService setAuthenticationType(TeradataAuthenticationType authenticationType) {
this.authenticationType = authenticationType;
return this;
}
/**
* Get the username property: Username for authentication. Type: string (or Expression with resultType string).
*
* @return the username value.
*/
public Object getUsername() {
return this.username;
}
/**
* Set the username property: Username for authentication. Type: string (or Expression with resultType string).
*
* @param username the username value to set.
* @return the TeradataLinkedService object itself.
*/
public TeradataLinkedService setUsername(Object username) {
this.username = username;
return this;
}
/**
* Get the password property: Password for authentication.
*
* @return the password value.
*/
public SecretBase getPassword() {
return this.password;
}
/**
* Set the password property: Password for authentication.
*
* @param password the password value to set.
* @return the TeradataLinkedService object itself.
*/
public TeradataLinkedService setPassword(SecretBase password) {
this.password = password;
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 TeradataLinkedService object itself.
*/
public TeradataLinkedService setEncryptedCredential(Object encryptedCredential) {
this.encryptedCredential = encryptedCredential;
return this;
}
}