Class AzureMySqlLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.AzureMySqlLinkedServiceTypeProperties
-
public final class AzureMySqlLinkedServiceTypeProperties extends Object
Azure MySQL database linked service properties.
-
-
Constructor Summary
Constructors Constructor Description AzureMySqlLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
connectionString()
Get the connectionString property: The connection string.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReference
password()
Get the password property: The Azure key vault secret reference of password in connection string.void
validate()
Validates the instance.AzureMySqlLinkedServiceTypeProperties
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.AzureMySqlLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureMySqlLinkedServiceTypeProperties
withPassword(AzureKeyVaultSecretReference password)
Set the password property: The Azure key vault secret reference of password in connection string.
-
-
-
Method Detail
-
connectionString
public Object connectionString()
Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
public AzureMySqlLinkedServiceTypeProperties withConnectionString(Object connectionString)
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the AzureMySqlLinkedServiceTypeProperties object itself.
-
password
public AzureKeyVaultSecretReference password()
Get the password property: The Azure key vault secret reference of password in connection string.- Returns:
- the password value.
-
withPassword
public AzureMySqlLinkedServiceTypeProperties withPassword(AzureKeyVaultSecretReference password)
Set the password property: The Azure key vault secret reference of password in connection string.- Parameters:
password
- the password value to set.- Returns:
- the AzureMySqlLinkedServiceTypeProperties 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 AzureMySqlLinkedServiceTypeProperties 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 AzureMySqlLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-