Class OdbcLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.OdbcLinkedServiceTypeProperties
ODBC linked service properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OdbcLinkedServiceTypeProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationType property: Type of authentication used to connect to the ODBC data store.Get the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential.Get the credential property: The access credential portion of the connection string specified in driver-specific property-value format.Get the encryptedCredential property: The encrypted credential used for authentication.password()Get the password property: Password for Basic authentication.username()Get the username property: User name for Basic authentication.voidvalidate()Validates the instance.withAuthenticationType(Object authenticationType) Set the authenticationType property: Type of authentication used to connect to the ODBC data store.withConnectionString(Object connectionString) Set the connectionString property: The non-access credential portion of the connection string as well as an optional encrypted credential.withCredential(SecretBase credential) Set the credential property: The access credential portion of the connection string specified in driver-specific property-value format.withEncryptedCredential(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withPassword(SecretBase password) Set the password property: Password for Basic authentication.withUsername(Object username) Set the username property: User name for Basic authentication.
-
Constructor Details
-
OdbcLinkedServiceTypeProperties
public OdbcLinkedServiceTypeProperties()Creates an instance of OdbcLinkedServiceTypeProperties class.
-
-
Method Details
-
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
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 OdbcLinkedServiceTypeProperties object itself.
-
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
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 OdbcLinkedServiceTypeProperties object itself.
-
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
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 OdbcLinkedServiceTypeProperties object itself.
-
username
Get the username property: User name for Basic authentication. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
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 OdbcLinkedServiceTypeProperties object itself.
-
password
Get the password property: Password for Basic authentication.- Returns:
- the password value.
-
withPassword
Set the password property: Password for Basic authentication.- Parameters:
password- the password value to set.- Returns:
- the OdbcLinkedServiceTypeProperties object itself.
-
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
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 OdbcLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-