Class CfnConnectorProfileMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnConnectorProfileMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfileMixinProps>
- Enclosing interface:
CfnConnectorProfileMixinProps
@Stability(Stable)
public static final class CfnConnectorProfileMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfileMixinProps>
A builder for
CfnConnectorProfileMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionMode(String connectionMode) Sets the value ofCfnConnectorProfileMixinProps.getConnectionMode()connectorLabel(String connectorLabel) Sets the value ofCfnConnectorProfileMixinProps.getConnectorLabel()connectorProfileConfig(CfnConnectorProfilePropsMixin.ConnectorProfileConfigProperty connectorProfileConfig) Sets the value ofCfnConnectorProfileMixinProps.getConnectorProfileConfig()connectorProfileConfig(IResolvable connectorProfileConfig) Sets the value ofCfnConnectorProfileMixinProps.getConnectorProfileConfig()connectorProfileName(String connectorProfileName) Sets the value ofCfnConnectorProfileMixinProps.getConnectorProfileName()connectorType(String connectorType) Sets the value ofCfnConnectorProfileMixinProps.getConnectorType()Sets the value ofCfnConnectorProfileMixinProps.getKmsArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionMode
@Stability(Stable) public CfnConnectorProfileMixinProps.Builder connectionMode(String connectionMode) Sets the value ofCfnConnectorProfileMixinProps.getConnectionMode()- Parameters:
connectionMode- Indicates the connection mode and if it is public or private.- Returns:
this
-
connectorLabel
@Stability(Stable) public CfnConnectorProfileMixinProps.Builder connectorLabel(String connectorLabel) Sets the value ofCfnConnectorProfileMixinProps.getConnectorLabel()- Parameters:
connectorLabel- The label for the connector profile being created.- Returns:
this
-
connectorProfileConfig
@Stability(Stable) public CfnConnectorProfileMixinProps.Builder connectorProfileConfig(IResolvable connectorProfileConfig) Sets the value ofCfnConnectorProfileMixinProps.getConnectorProfileConfig()- Parameters:
connectorProfileConfig- Defines the connector-specific configuration and credentials.- Returns:
this
-
connectorProfileConfig
@Stability(Stable) public CfnConnectorProfileMixinProps.Builder connectorProfileConfig(CfnConnectorProfilePropsMixin.ConnectorProfileConfigProperty connectorProfileConfig) Sets the value ofCfnConnectorProfileMixinProps.getConnectorProfileConfig()- Parameters:
connectorProfileConfig- Defines the connector-specific configuration and credentials.- Returns:
this
-
connectorProfileName
@Stability(Stable) public CfnConnectorProfileMixinProps.Builder connectorProfileName(String connectorProfileName) Sets the value ofCfnConnectorProfileMixinProps.getConnectorProfileName()- Parameters:
connectorProfileName- The name of the connector profile. The name is unique for eachConnectorProfilein the AWS account .- Returns:
this
-
connectorType
Sets the value ofCfnConnectorProfileMixinProps.getConnectorType()- Parameters:
connectorType- The type of connector, such as Salesforce, Amplitude, and so on.- Returns:
this
-
kmsArn
Sets the value ofCfnConnectorProfileMixinProps.getKmsArn()- Parameters:
kmsArn- The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectorProfileMixinProps>- Returns:
- a new instance of
CfnConnectorProfileMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-