SalesforceLinkedService Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. LinkedService - com.
azure. resourcemanager. datafactory. models. SalesforceLinkedService
- com.
- com.
public final class SalesforceLinkedService
extends LinkedService
Linked service for Salesforce.
Constructor Summary
Constructor | Description |
---|---|
SalesforceLinkedService() |
Creates an instance of Salesforce |
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
apiVersion()
Get the api |
String |
encryptedCredential()
Get the encrypted |
Object |
environmentUrl()
Get the environment |
Secret |
password()
Get the password property: The password for Basic authentication of the Salesforce instance. |
Secret |
securityToken()
Get the security |
String |
type()
Get the type property: Type of linked service. |
Object |
username()
Get the username property: The username for Basic authentication of the Salesforce instance. |
void |
validate()
Validates the instance. |
Salesforce |
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service. |
Salesforce |
withApiVersion(Object apiVersion)
Set the api |
Salesforce |
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connect |
Salesforce |
withDescription(String description)
Set the description property: Linked service description. |
Salesforce |
withEncryptedCredential(String encryptedCredential)
Set the encrypted |
Salesforce |
withEnvironmentUrl(Object environmentUrl)
Set the environment |
Salesforce |
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service. |
Salesforce |
withPassword(SecretBase password)
Set the password property: The password for Basic authentication of the Salesforce instance. |
Salesforce |
withSecurityToken(SecretBase securityToken)
Set the security |
Salesforce |
withUsername(Object username)
Set the username property: The username for Basic authentication of the Salesforce instance. |
Methods inherited from LinkedService
Methods inherited from java.lang.Object
Constructor Details
SalesforceLinkedService
public SalesforceLinkedService()
Creates an instance of SalesforceLinkedService class.
Method Details
apiVersion
public Object apiVersion()
Get the apiVersion property: The Salesforce API version used in ADF. Type: string (or Expression with resultType string).
Returns:
encryptedCredential
public String encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
Returns:
environmentUrl
public Object 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:
password
public SecretBase password()
Get the password property: The password for Basic authentication of the Salesforce instance.
Returns:
securityToken
public SecretBase securityToken()
Get the securityToken property: The security token is optional to remotely access Salesforce instance.
Returns:
type
public String type()
Get the type property: Type of linked service.
Overrides:
SalesforceLinkedService.type()Returns:
username
public Object username()
Get the username property: The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).
Returns:
validate
public void validate()
Validates the instance.
Overrides:
SalesforceLinkedService.validate()withAnnotations
public SalesforceLinkedService withAnnotations(List
Set the annotations property: List of tags that can be used for describing the linked service.
Overrides:
SalesforceLinkedService.withAnnotations(List<Object> annotations)Parameters:
withApiVersion
public SalesforceLinkedService withApiVersion(Object apiVersion)
Set the apiVersion property: The Salesforce API version used in ADF. Type: string (or Expression with resultType string).
Parameters:
Returns:
withConnectVia
public SalesforceLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.
Overrides:
SalesforceLinkedService.withConnectVia(IntegrationRuntimeReference connectVia)Parameters:
withDescription
public SalesforceLinkedService withDescription(String description)
Set the description property: Linked service description.
Overrides:
SalesforceLinkedService.withDescription(String description)Parameters:
withEncryptedCredential
public SalesforceLinkedService withEncryptedCredential(String encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
Parameters:
Returns:
withEnvironmentUrl
public SalesforceLinkedService withEnvironmentUrl(Object environmentUrl)
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:
Returns:
withParameters
public SalesforceLinkedService withParameters(Map
Set the parameters property: Parameters for linked service.
Overrides:
SalesforceLinkedService.withParameters(Map<String,ParameterSpecification> parameters)Parameters:
withPassword
public SalesforceLinkedService withPassword(SecretBase password)
Set the password property: The password for Basic authentication of the Salesforce instance.
Parameters:
Returns:
withSecurityToken
public SalesforceLinkedService withSecurityToken(SecretBase securityToken)
Set the securityToken property: The security token is optional to remotely access Salesforce instance.
Parameters:
Returns:
withUsername
public SalesforceLinkedService withUsername(Object username)
Set the username property: The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for