Class OdbcLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.OdbcLinkedService
-
public final class OdbcLinkedService extends LinkedService
Open Database Connectivity (ODBC) linked service.
-
-
Constructor Summary
Constructors Constructor Description OdbcLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectauthenticationType()Get the authenticationType property: Type of authentication used to connect to the ODBC data store.ObjectconnectionString()Get the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential.SecretBasecredential()Get the credential property: The access credential portion of the connection string specified in driver-specific property-value format.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: Password for Basic authentication.Objectusername()Get the username property: User name for Basic authentication.voidvalidate()Validates the instance.OdbcLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.OdbcLinkedServicewithAuthenticationType(Object authenticationType)Set the authenticationType property: Type of authentication used to connect to the ODBC data store.OdbcLinkedServicewithConnectionString(Object connectionString)Set the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential.OdbcLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.OdbcLinkedServicewithCredential(SecretBase credential)Set the credential property: The access credential portion of the connection string specified in driver-specific property-value format.OdbcLinkedServicewithDescription(String description)Set the description property: Linked service description.OdbcLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.OdbcLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.OdbcLinkedServicewithPassword(SecretBase password)Set the password property: Password for Basic authentication.OdbcLinkedServicewithUsername(Object username)Set the username property: User name for Basic authentication.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public OdbcLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public OdbcLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public OdbcLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public OdbcLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
connectionString
public Object connectionString()
Get the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
public OdbcLinkedService withConnectionString(Object connectionString)
Set the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the OdbcLinkedService object itself.
-
authenticationType
public Object authenticationType()
Get the authenticationType property: Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).- Returns:
- the authenticationType value.
-
withAuthenticationType
public OdbcLinkedService withAuthenticationType(Object authenticationType)
Set the authenticationType property: Type of authentication used to connect to the ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string).- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the OdbcLinkedService object itself.
-
credential
public SecretBase credential()
Get the credential property: The access credential portion of the connection string specified in driver-specific property-value format.- Returns:
- the credential value.
-
withCredential
public OdbcLinkedService withCredential(SecretBase credential)
Set the credential property: The access credential portion of the connection string specified in driver-specific property-value format.- Parameters:
credential- the credential value to set.- Returns:
- the OdbcLinkedService object itself.
-
username
public Object username()
Get the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public OdbcLinkedService withUsername(Object username)
Set the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the OdbcLinkedService object itself.
-
password
public SecretBase password()
Get the password property: Password for Basic authentication.- Returns:
- the password value.
-
withPassword
public OdbcLinkedService withPassword(SecretBase password)
Set the password property: Password for Basic authentication.- Parameters:
password- the password value to set.- Returns:
- the OdbcLinkedService object itself.
-
encryptedCredential
public Object encryptedCredential()
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).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public OdbcLinkedService withEncryptedCredential(Object 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).- Parameters:
encryptedCredential- the encryptedCredential value to set.- Returns:
- the OdbcLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-