Class CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile.PardotConnectorProfilePropertiesProperty>
- Enclosing interface:
CfnConnectorProfile.PardotConnectorProfilePropertiesProperty
@Stability(Stable)
public static final class CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile.PardotConnectorProfilePropertiesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.businessUnitId(String businessUnitId) instanceUrl(String instanceUrl) isSandboxEnvironment(Boolean isSandboxEnvironment) isSandboxEnvironment(IResolvable isSandboxEnvironment)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
businessUnitId
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder businessUnitId(String businessUnitId) - Parameters:
businessUnitId- The business unit id of Salesforce Pardot instance. This parameter is required.- Returns:
this
-
instanceUrl
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder instanceUrl(String instanceUrl) - Parameters:
instanceUrl- The location of the Salesforce Pardot resource.- Returns:
this
-
isSandboxEnvironment
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder isSandboxEnvironment(Boolean isSandboxEnvironment) Sets the value ofCfnConnectorProfile.PardotConnectorProfilePropertiesProperty.getIsSandboxEnvironment()- Parameters:
isSandboxEnvironment- Indicates whether the connector profile applies to a sandbox or production environment.- Returns:
this
-
isSandboxEnvironment
@Stability(Stable) public CfnConnectorProfile.PardotConnectorProfilePropertiesProperty.Builder isSandboxEnvironment(IResolvable isSandboxEnvironment) Sets the value ofCfnConnectorProfile.PardotConnectorProfilePropertiesProperty.getIsSandboxEnvironment()- Parameters:
isSandboxEnvironment- Indicates whether the connector profile applies to a sandbox or production environment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile.PardotConnectorProfilePropertiesProperty>- Returns:
- a new instance of
CfnConnectorProfile.PardotConnectorProfilePropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-