Class SalesforceServiceCloudLinkedServiceTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.SalesforceServiceCloudLinkedServiceTypeProperties
Salesforce Service Cloud linked service properties.
-
Constructor Summary
-
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 Service Cloud instance.Get the extendedProperties property: Extended properties appended to the connection string.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.void
validate()
Validates the instance.withApiVersion
(Object apiVersion) Set the apiVersion property: The Salesforce API version used in ADF.withEncryptedCredential
(Object encryptedCredential) Set the encryptedCredential property: The encrypted credential used for authentication.withEnvironmentUrl
(Object environmentUrl) Set the environmentUrl property: The URL of Salesforce Service Cloud instance.withExtendedProperties
(Object extendedProperties) Set the extendedProperties property: Extended properties appended to the connection string.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.
-
Constructor Details
-
SalesforceServiceCloudLinkedServiceTypeProperties
public SalesforceServiceCloudLinkedServiceTypeProperties()
-
-
Method Details
-
environmentUrl
Get the environmentUrl property: The URL of Salesforce Service Cloud 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 Service Cloud 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties object itself.
-
securityToken
Get the securityToken property: The security token is optional to remotely access Salesforce instance.- Returns:
- the securityToken value.
-
withSecurityToken
public SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties object itself.
-
extendedProperties
Get the extendedProperties property: Extended properties appended to the connection string. Type: string (or Expression with resultType string).- Returns:
- the extendedProperties value.
-
withExtendedProperties
public SalesforceServiceCloudLinkedServiceTypeProperties withExtendedProperties(Object extendedProperties) Set the extendedProperties property: Extended properties appended to the connection string. Type: string (or Expression with resultType string).- Parameters:
extendedProperties
- the extendedProperties value to set.- Returns:
- the SalesforceServiceCloudLinkedServiceTypeProperties 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
public SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-