Class SalesforceConnectorProfileProperties

    • Method Detail

      • instanceUrl

        public final String instanceUrl()

        The location of the Salesforce resource.

        Returns:
        The location of the Salesforce resource.
      • isSandboxEnvironment

        public final Boolean isSandboxEnvironment()

        Indicates whether the connector profile applies to a sandbox or production environment.

        Returns:
        Indicates whether the connector profile applies to a sandbox or production environment.
      • usePrivateLinkForMetadataAndAuthorization

        public final Boolean usePrivateLinkForMetadataAndAuthorization()

        If the connection mode for the connector profile is private, this parameter sets whether Amazon AppFlow uses the private network to send metadata and authorization calls to Salesforce. Amazon AppFlow sends private calls through Amazon Web Services PrivateLink. These calls travel through Amazon Web Services infrastructure without being exposed to the public internet.

        Set either of the following values:

        true

        Amazon AppFlow sends all calls to Salesforce over the private network.

        These private calls are:

        • Calls to get metadata about your Salesforce records. This metadata describes your Salesforce objects and their fields.

        • Calls to get or refresh access tokens that allow Amazon AppFlow to access your Salesforce records.

        • Calls to transfer your Salesforce records as part of a flow run.

        false

        The default value. Amazon AppFlow sends some calls to Salesforce privately and other calls over the public internet.

        The public calls are:

        • Calls to get metadata about your Salesforce records.

        • Calls to get or refresh access tokens.

        The private calls are:

        • Calls to transfer your Salesforce records as part of a flow run.

        Returns:
        If the connection mode for the connector profile is private, this parameter sets whether Amazon AppFlow uses the private network to send metadata and authorization calls to Salesforce. Amazon AppFlow sends private calls through Amazon Web Services PrivateLink. These calls travel through Amazon Web Services infrastructure without being exposed to the public internet.

        Set either of the following values:

        true

        Amazon AppFlow sends all calls to Salesforce over the private network.

        These private calls are:

        • Calls to get metadata about your Salesforce records. This metadata describes your Salesforce objects and their fields.

        • Calls to get or refresh access tokens that allow Amazon AppFlow to access your Salesforce records.

        • Calls to transfer your Salesforce records as part of a flow run.

        false

        The default value. Amazon AppFlow sends some calls to Salesforce privately and other calls over the public internet.

        The public calls are:

        • Calls to get metadata about your Salesforce records.

        • Calls to get or refresh access tokens.

        The private calls are:

        • Calls to transfer your Salesforce records as part of a flow run.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)