Class AzureMySqlLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.AzureMySqlLinkedService
-
public final class AzureMySqlLinkedService extends LinkedService
Azure MySQL database linked service.
-
-
Constructor Summary
Constructors Constructor Description AzureMySqlLinkedService()
-
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.AzureMySqlLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.AzureMySqlLinkedService
withConnectionString(Object connectionString)
Set the connectionString property: The connection string.AzureMySqlLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.AzureMySqlLinkedService
withDescription(String description)
Set the description property: Linked service description.AzureMySqlLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.AzureMySqlLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.AzureMySqlLinkedService
withPassword(AzureKeyVaultSecretReference password)
Set the password property: The Azure key vault secret reference of password in connection string.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public AzureMySqlLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public AzureMySqlLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public AzureMySqlLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public AzureMySqlLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
connectionString
public Object connectionString()
Get the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Returns:
- the connectionString value.
-
withConnectionString
public AzureMySqlLinkedService withConnectionString(Object connectionString)
Set the connectionString property: The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the AzureMySqlLinkedService 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 AzureMySqlLinkedService 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 AzureMySqlLinkedService 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 AzureMySqlLinkedService 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 AzureMySqlLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-