Class SqlServerLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.SqlServerLinkedServiceTypeProperties
-
public final class SqlServerLinkedServiceTypeProperties extends Object
SQL Server linked service properties.
-
-
Constructor Summary
Constructors Constructor Description SqlServerLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlAlwaysEncryptedPropertiesalwaysEncryptedSettings()Get the alwaysEncryptedSettings property: Sql always encrypted properties.ObjectconnectionString()Get the connectionString property: The connection string.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.SecretBasepassword()Get the password property: The on-premises Windows authentication password.Objectusername()Get the username property: The on-premises Windows authentication user name.voidvalidate()Validates the instance.SqlServerLinkedServiceTypePropertieswithAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)Set the alwaysEncryptedSettings property: Sql always encrypted properties.SqlServerLinkedServiceTypePropertieswithConnectionString(Object connectionString)Set the connectionString property: The connection string.SqlServerLinkedServiceTypePropertieswithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.SqlServerLinkedServiceTypePropertieswithPassword(SecretBase password)Set the password property: The on-premises Windows authentication password.SqlServerLinkedServiceTypePropertieswithUsername(Object username)Set the username property: The on-premises Windows authentication user name.
-
-
-
Method Detail
-
connectionString
public Object connectionString()
Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
public SqlServerLinkedServiceTypeProperties withConnectionString(Object connectionString)
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the SqlServerLinkedServiceTypeProperties object itself.
-
username
public Object username()
Get the username property: The on-premises Windows authentication user name. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
public SqlServerLinkedServiceTypeProperties withUsername(Object username)
Set the username property: The on-premises Windows authentication user name. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the SqlServerLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: The on-premises Windows authentication password.- Returns:
- the password value.
-
withPassword
public SqlServerLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: The on-premises Windows authentication password.- Parameters:
password- the password value to set.- Returns:
- the SqlServerLinkedServiceTypeProperties 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 SqlServerLinkedServiceTypeProperties 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 SqlServerLinkedServiceTypeProperties object itself.
-
alwaysEncryptedSettings
public SqlAlwaysEncryptedProperties alwaysEncryptedSettings()
Get the alwaysEncryptedSettings property: Sql always encrypted properties.- Returns:
- the alwaysEncryptedSettings value.
-
withAlwaysEncryptedSettings
public SqlServerLinkedServiceTypeProperties withAlwaysEncryptedSettings(SqlAlwaysEncryptedProperties alwaysEncryptedSettings)
Set the alwaysEncryptedSettings property: Sql always encrypted properties.- Parameters:
alwaysEncryptedSettings- the alwaysEncryptedSettings value to set.- Returns:
- the SqlServerLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-