Class SalesforceLinkedService
java.lang.Object
com.azure.resourcemanager.datafactory.models.LinkedService
com.azure.resourcemanager.datafactory.models.SalesforceLinkedService
Linked service for Salesforce.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SalesforceLinkedService class. -
Method Summary
Modifier and TypeMethodDescriptionGet the apiVersion property: The Salesforce API version used in ADF.Get the encryptedCredential property: The encrypted credential used for authentication.Get the environmentUrl property: The URL of Salesforce instance.password()Get the password property: The password for Basic authentication of the Salesforce instance.Get the securityToken property: The security token is optional to remotely access Salesforce instance.username()Get the username property: The username for Basic authentication of the Salesforce instance.voidvalidate()Validates the instance.withAnnotations(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the linked service.withApiVersion(Object apiVersion) Set the apiVersion property: The Salesforce API version used in ADF.withConnectVia(IntegrationRuntimeReference connectVia) Set the connectVia property: The integration runtime reference.withDescription(String description) Set the description property: Linked service description.withEncryptedCredential(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withEnvironmentUrl(Object environmentUrl) Set the environmentUrl property: The URL of Salesforce instance.withParameters(Map<String, ParameterSpecification> parameters) Set the parameters property: Parameters for linked service.withPassword(SecretBase password) Set the password property: The password for Basic authentication of the Salesforce instance.withSecurityToken(SecretBase securityToken) Set the securityToken property: The security token is optional to remotely access Salesforce instance.withUsername(Object username) Set the username property: The username for Basic authentication of the Salesforce instance.Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
Constructor Details
-
SalesforceLinkedService
public SalesforceLinkedService()Creates an instance of SalesforceLinkedService class.
-
-
Method Details
-
withConnectVia
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
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.
-
environmentUrl
Get the environmentUrl property: The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).- Returns:
- the environmentUrl value.
-
withEnvironmentUrl
Set the environmentUrl property: The URL of Salesforce instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string).- Parameters:
environmentUrl- the environmentUrl value to set.- Returns:
- the SalesforceLinkedService object itself.
-
username
Get the username property: The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).- Returns:
- the username value.
-
withUsername
Set the username property: The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).- Parameters:
username- the username value to set.- Returns:
- the SalesforceLinkedService object itself.
-
password
Get the password property: The password for Basic authentication of the Salesforce instance.- Returns:
- the password value.
-
withPassword
Set the password property: The password for Basic authentication of the Salesforce instance.- Parameters:
password- the password value to set.- Returns:
- the SalesforceLinkedService object itself.
-
securityToken
Get the securityToken property: The security token is optional to remotely access Salesforce instance.- Returns:
- the securityToken value.
-
withSecurityToken
Set the securityToken property: The security token is optional to remotely access Salesforce instance.- Parameters:
securityToken- the securityToken value to set.- Returns:
- the SalesforceLinkedService object itself.
-
apiVersion
Get the apiVersion property: The Salesforce API version used in ADF. Type: string (or Expression with resultType string).- Returns:
- the apiVersion value.
-
withApiVersion
Set the apiVersion property: The Salesforce API version used in ADF. Type: string (or Expression with resultType string).- Parameters:
apiVersion- the apiVersion value to set.- Returns:
- the SalesforceLinkedService 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 SalesforceLinkedService object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-