Class SalesforceServiceCloudLinkedServiceTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.SalesforceServiceCloudLinkedServiceTypeProperties
-
public final class SalesforceServiceCloudLinkedServiceTypeProperties extends Object
Salesforce Service Cloud linked service properties.
-
-
Constructor Summary
Constructors Constructor Description SalesforceServiceCloudLinkedServiceTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectapiVersion()Get the apiVersion property: The Salesforce API version used in ADF.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.ObjectenvironmentUrl()Get the environmentUrl property: The URL of Salesforce Service Cloud instance.ObjectextendedProperties()Get the extendedProperties property: Extended properties appended to the connection string.SecretBasepassword()Get the password property: The password for Basic authentication of the Salesforce instance.SecretBasesecurityToken()Get the securityToken property: The security token is optional to remotely access Salesforce instance.Objectusername()Get the username property: The username for Basic authentication of the Salesforce instance.voidvalidate()Validates the instance.SalesforceServiceCloudLinkedServiceTypePropertieswithApiVersion(Object apiVersion)Set the apiVersion property: The Salesforce API version used in ADF.SalesforceServiceCloudLinkedServiceTypePropertieswithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.SalesforceServiceCloudLinkedServiceTypePropertieswithEnvironmentUrl(Object environmentUrl)Set the environmentUrl property: The URL of Salesforce Service Cloud instance.SalesforceServiceCloudLinkedServiceTypePropertieswithExtendedProperties(Object extendedProperties)Set the extendedProperties property: Extended properties appended to the connection string.SalesforceServiceCloudLinkedServiceTypePropertieswithPassword(SecretBase password)Set the password property: The password for Basic authentication of the Salesforce instance.SalesforceServiceCloudLinkedServiceTypePropertieswithSecurityToken(SecretBase securityToken)Set the securityToken property: The security token is optional to remotely access Salesforce instance.SalesforceServiceCloudLinkedServiceTypePropertieswithUsername(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 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 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
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 SalesforceServiceCloudLinkedServiceTypeProperties 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 SalesforceServiceCloudLinkedServiceTypeProperties 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 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
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 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.
-
-