Class CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty>
- Enclosing interface:
CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceUrl(String instanceUrl) isSandboxEnvironment(Boolean isSandboxEnvironment) isSandboxEnvironment(IResolvable isSandboxEnvironment) usePrivateLinkForMetadataAndAuthorization(Boolean usePrivateLinkForMetadataAndAuthorization) usePrivateLinkForMetadataAndAuthorization(IResolvable usePrivateLinkForMetadataAndAuthorization)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceUrl
@Stability(Stable) public CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.Builder instanceUrl(String instanceUrl) Sets the value ofCfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.getInstanceUrl()- Parameters:
instanceUrl- The location of the Salesforce resource.- Returns:
this
-
isSandboxEnvironment
@Stability(Stable) public CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.Builder isSandboxEnvironment(Boolean isSandboxEnvironment) Sets the value ofCfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.getIsSandboxEnvironment()- Parameters:
isSandboxEnvironment- Indicates whether the connector profile applies to a sandbox or production environment.- Returns:
this
-
isSandboxEnvironment
@Stability(Stable) public CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.Builder isSandboxEnvironment(IResolvable isSandboxEnvironment) Sets the value ofCfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.getIsSandboxEnvironment()- Parameters:
isSandboxEnvironment- Indicates whether the connector profile applies to a sandbox or production environment.- Returns:
this
-
usePrivateLinkForMetadataAndAuthorization
@Stability(Stable) public CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.Builder usePrivateLinkForMetadataAndAuthorization(Boolean usePrivateLinkForMetadataAndAuthorization) Sets the value ofCfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.getUsePrivateLinkForMetadataAndAuthorization()- Parameters:
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 AWS PrivateLink . These calls travel through AWS 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:
this
-
usePrivateLinkForMetadataAndAuthorization
@Stability(Stable) public CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.Builder usePrivateLinkForMetadataAndAuthorization(IResolvable usePrivateLinkForMetadataAndAuthorization) Sets the value ofCfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty.getUsePrivateLinkForMetadataAndAuthorization()- Parameters:
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 AWS PrivateLink . These calls travel through AWS 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:
this
-
build
@Stability(Stable) public CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty>- Returns:
- a new instance of
CfnConnectorProfilePropsMixin.SalesforceConnectorProfilePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-