Class SalesforceLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.SalesforceLinkedServiceTypeProperties
-
public final class SalesforceLinkedServiceTypeProperties extends Object
Salesforce linked service properties.
-
-
Constructor Summary
Constructors Constructor Description SalesforceLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apiVersion()
Get the apiVersion property: The Salesforce API version used in ADF.Object
encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication.Object
environmentUrl()
Get the environmentUrl property: The URL of Salesforce instance.SecretBase
password()
Get the password property: The password for Basic authentication of the Salesforce instance.SecretBase
securityToken()
Get the securityToken property: The security token is optional to remotely access Salesforce instance.Object
username()
Get the username property: The username for Basic authentication of the Salesforce instance.void
validate()
Validates the instance.SalesforceLinkedServiceTypeProperties
withApiVersion(Object apiVersion)
Set the apiVersion property: The Salesforce API version used in ADF.SalesforceLinkedServiceTypeProperties
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.SalesforceLinkedServiceTypeProperties
withEnvironmentUrl(Object environmentUrl)
Set the environmentUrl property: The URL of Salesforce instance.SalesforceLinkedServiceTypeProperties
withPassword(SecretBase password)
Set the password property: The password for Basic authentication of the Salesforce instance.SalesforceLinkedServiceTypeProperties
withSecurityToken(SecretBase securityToken)
Set the securityToken property: The security token is optional to remotely access Salesforce instance.SalesforceLinkedServiceTypeProperties
withUsername(Object username)
Set the username property: The username for Basic authentication of the Salesforce instance.
-
-
-
Method Detail
-
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:
- the environmentUrl value.
-
withEnvironmentUrl
public SalesforceLinkedServiceTypeProperties 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:
environmentUrl
- the environmentUrl value to set.- Returns:
- the SalesforceLinkedServiceTypeProperties object itself.
-
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:
- the username value.
-
withUsername
public SalesforceLinkedServiceTypeProperties withUsername(Object username)
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 SalesforceLinkedServiceTypeProperties object itself.
-
password
public SecretBase password()
Get the password property: The password for Basic authentication of the Salesforce instance.- Returns:
- the password value.
-
withPassword
public SalesforceLinkedServiceTypeProperties withPassword(SecretBase password)
Set the password property: The password for Basic authentication of the Salesforce instance.- Parameters:
password
- the password value to set.- Returns:
- the SalesforceLinkedServiceTypeProperties object itself.
-
securityToken
public SecretBase securityToken()
Get the securityToken property: The security token is optional to remotely access Salesforce instance.- Returns:
- the securityToken value.
-
withSecurityToken
public SalesforceLinkedServiceTypeProperties withSecurityToken(SecretBase securityToken)
Set the securityToken property: The security token is optional to remotely access Salesforce instance.- Parameters:
securityToken
- the securityToken value to set.- Returns:
- the SalesforceLinkedServiceTypeProperties object itself.
-
apiVersion
public Object apiVersion()
Get the apiVersion property: The Salesforce API version used in ADF. Type: string (or Expression with resultType string).- Returns:
- the apiVersion value.
-
withApiVersion
public SalesforceLinkedServiceTypeProperties withApiVersion(Object apiVersion)
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 SalesforceLinkedServiceTypeProperties 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 SalesforceLinkedServiceTypeProperties 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 SalesforceLinkedServiceTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-