Class SalesforceServiceCloudLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.SalesforceServiceCloudLinkedService
-
public final class SalesforceServiceCloudLinkedService extends LinkedService
Linked service for Salesforce Service Cloud.
-
-
Constructor Summary
Constructors Constructor Description SalesforceServiceCloudLinkedService()
-
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 Service Cloud instance.Object
extendedProperties()
Get the extendedProperties property: Extended properties appended to the connection string.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.SalesforceServiceCloudLinkedService
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.SalesforceServiceCloudLinkedService
withApiVersion(Object apiVersion)
Set the apiVersion property: The Salesforce API version used in ADF.SalesforceServiceCloudLinkedService
withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.SalesforceServiceCloudLinkedService
withDescription(String description)
Set the description property: Linked service description.SalesforceServiceCloudLinkedService
withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication.SalesforceServiceCloudLinkedService
withEnvironmentUrl(Object environmentUrl)
Set the environmentUrl property: The URL of Salesforce Service Cloud instance.SalesforceServiceCloudLinkedService
withExtendedProperties(Object extendedProperties)
Set the extendedProperties property: Extended properties appended to the connection string.SalesforceServiceCloudLinkedService
withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.SalesforceServiceCloudLinkedService
withPassword(SecretBase password)
Set the password property: The password for Basic authentication of the Salesforce instance.SalesforceServiceCloudLinkedService
withSecurityToken(SecretBase securityToken)
Set the securityToken property: The security token is optional to remotely access Salesforce instance.SalesforceServiceCloudLinkedService
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
-
-
-
-
Method Detail
-
withConnectVia
public SalesforceServiceCloudLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectVia
in classLinkedService
- Parameters:
connectVia
- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public SalesforceServiceCloudLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescription
in classLinkedService
- Parameters:
description
- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public SalesforceServiceCloudLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParameters
in classLinkedService
- Parameters:
parameters
- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public SalesforceServiceCloudLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotations
in classLinkedService
- Parameters:
annotations
- the annotations value to set.- Returns:
- the LinkedService object itself.
-
environmentUrl
public Object 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
public SalesforceServiceCloudLinkedService withEnvironmentUrl(Object environmentUrl)
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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService object itself.
-
extendedProperties
public Object 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService 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 SalesforceServiceCloudLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classLinkedService
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-