Interface SalesforceMetadata.Builder

    • Method Detail

      • oAuthScopes

        SalesforceMetadata.Builder oAuthScopes​(Collection<String> oAuthScopes)

        The desired authorization scope for the Salesforce account.

        Parameters:
        oAuthScopes - The desired authorization scope for the Salesforce account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oAuthScopes

        SalesforceMetadata.Builder oAuthScopes​(String... oAuthScopes)

        The desired authorization scope for the Salesforce account.

        Parameters:
        oAuthScopes - The desired authorization scope for the Salesforce account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataTransferApisWithStrings

        SalesforceMetadata.Builder dataTransferApisWithStrings​(Collection<String> dataTransferApis)

        The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.

        Parameters:
        dataTransferApis - The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataTransferApisWithStrings

        SalesforceMetadata.Builder dataTransferApisWithStrings​(String... dataTransferApis)

        The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.

        Parameters:
        dataTransferApis - The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataTransferApis

        SalesforceMetadata.Builder dataTransferApis​(Collection<SalesforceDataTransferApi> dataTransferApis)

        The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.

        Parameters:
        dataTransferApis - The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataTransferApis

        SalesforceMetadata.Builder dataTransferApis​(SalesforceDataTransferApi... dataTransferApis)

        The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.

        Parameters:
        dataTransferApis - The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupportedWithStrings

        SalesforceMetadata.Builder oauth2GrantTypesSupportedWithStrings​(Collection<String> oauth2GrantTypesSupported)

        The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Parameters:
        oauth2GrantTypesSupported - The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupportedWithStrings

        SalesforceMetadata.Builder oauth2GrantTypesSupportedWithStrings​(String... oauth2GrantTypesSupported)

        The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Parameters:
        oauth2GrantTypesSupported - The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupported

        SalesforceMetadata.Builder oauth2GrantTypesSupported​(Collection<OAuth2GrantType> oauth2GrantTypesSupported)

        The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Parameters:
        oauth2GrantTypesSupported - The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • oauth2GrantTypesSupported

        SalesforceMetadata.Builder oauth2GrantTypesSupported​(OAuth2GrantType... oauth2GrantTypesSupported)

        The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Parameters:
        oauth2GrantTypesSupported - The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records.

        AUTHORIZATION_CODE

        Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records.

        CLIENT_CREDENTIALS

        Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account.

        JWT_BEARER

        Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.

        Returns:
        Returns a reference to this object so that method calls can be chained together.