Class MySqlLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.MySqlLinkedService
-
public final class MySqlLinkedService extends LinkedService
Linked service for MySQL data source.
-
-
Constructor Summary
Constructors Constructor Description MySqlLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectconnectionString()Get the connectionString property: The connection string.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.AzureKeyVaultSecretReferencepassword()Get the password property: The Azure key vault secret reference of password in connection string.voidvalidate()Validates the instance.MySqlLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.MySqlLinkedServicewithConnectionString(Object connectionString)Set the connectionString property: The connection string.MySqlLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.MySqlLinkedServicewithDescription(String description)Set the description property: Linked service description.MySqlLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.MySqlLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.MySqlLinkedServicewithPassword(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 MySqlLinkedService 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 MySqlLinkedService 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 MySqlLinkedService 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 MySqlLinkedService 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 connection string.- Returns:
- the connectionString value.
-
withConnectionString
public MySqlLinkedService withConnectionString(Object connectionString)
Set the connectionString property: The connection string.- Parameters:
connectionString- the connectionString value to set.- Returns:
- the MySqlLinkedService 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 MySqlLinkedService 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 MySqlLinkedService 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 MySqlLinkedService 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 MySqlLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-