Class SalesforceMarketingCloudLinkedServiceTypeProperties


  • public final class SalesforceMarketingCloudLinkedServiceTypeProperties
    extends Object
    Salesforce Marketing Cloud linked service properties.
    • Constructor Detail

      • SalesforceMarketingCloudLinkedServiceTypeProperties

        public SalesforceMarketingCloudLinkedServiceTypeProperties()
    • Method Detail

      • connectionProperties

        public Object connectionProperties()
        Get the connectionProperties property: Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object.
        Returns:
        the connectionProperties value.
      • withConnectionProperties

        public SalesforceMarketingCloudLinkedServiceTypeProperties withConnectionProperties​(Object connectionProperties)
        Set the connectionProperties property: Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object.
        Parameters:
        connectionProperties - the connectionProperties value to set.
        Returns:
        the SalesforceMarketingCloudLinkedServiceTypeProperties object itself.
      • clientId

        public Object clientId()
        Get the clientId property: The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
        Returns:
        the clientId value.
      • withClientId

        public SalesforceMarketingCloudLinkedServiceTypeProperties withClientId​(Object clientId)
        Set the clientId property: The client ID associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the SalesforceMarketingCloudLinkedServiceTypeProperties object itself.
      • clientSecret

        public SecretBase clientSecret()
        Get the clientSecret property: The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
        Returns:
        the clientSecret value.
      • withClientSecret

        public SalesforceMarketingCloudLinkedServiceTypeProperties withClientSecret​(SecretBase clientSecret)
        Set the clientSecret property: The client secret associated with the Salesforce Marketing Cloud application. Type: string (or Expression with resultType string).
        Parameters:
        clientSecret - the clientSecret value to set.
        Returns:
        the SalesforceMarketingCloudLinkedServiceTypeProperties object itself.
      • useEncryptedEndpoints

        public Object useEncryptedEndpoints()
        Get the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
        Returns:
        the useEncryptedEndpoints value.
      • withUseEncryptedEndpoints

        public SalesforceMarketingCloudLinkedServiceTypeProperties withUseEncryptedEndpoints​(Object useEncryptedEndpoints)
        Set the useEncryptedEndpoints property: Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).
        Parameters:
        useEncryptedEndpoints - the useEncryptedEndpoints value to set.
        Returns:
        the SalesforceMarketingCloudLinkedServiceTypeProperties object itself.
      • useHostVerification

        public Object useHostVerification()
        Get the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
        Returns:
        the useHostVerification value.
      • withUseHostVerification

        public SalesforceMarketingCloudLinkedServiceTypeProperties withUseHostVerification​(Object useHostVerification)
        Set the useHostVerification property: Specifies whether to require the host name in the server's certificate to match the host name of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
        Parameters:
        useHostVerification - the useHostVerification value to set.
        Returns:
        the SalesforceMarketingCloudLinkedServiceTypeProperties object itself.
      • usePeerVerification

        public Object usePeerVerification()
        Get the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
        Returns:
        the usePeerVerification value.
      • withUsePeerVerification

        public SalesforceMarketingCloudLinkedServiceTypeProperties withUsePeerVerification​(Object usePeerVerification)
        Set the usePeerVerification property: Specifies whether to verify the identity of the server when connecting over SSL. The default value is true. Type: boolean (or Expression with resultType boolean).
        Parameters:
        usePeerVerification - the usePeerVerification value to set.
        Returns:
        the SalesforceMarketingCloudLinkedServiceTypeProperties 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 SalesforceMarketingCloudLinkedServiceTypeProperties 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 SalesforceMarketingCloudLinkedServiceTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.