Class CfnConnectorProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfileProps>
- Enclosing interface:
- CfnConnectorProfileProps
@Stability(Stable)
public static final class CfnConnectorProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfileProps>
A builder for
CfnConnectorProfileProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionMode(String connectionMode) Sets the value ofCfnConnectorProfileProps.getConnectionMode()connectorLabel(String connectorLabel) Sets the value ofCfnConnectorProfileProps.getConnectorLabel()connectorProfileConfig(IResolvable connectorProfileConfig) Sets the value ofCfnConnectorProfileProps.getConnectorProfileConfig()connectorProfileConfig(CfnConnectorProfile.ConnectorProfileConfigProperty connectorProfileConfig) Sets the value ofCfnConnectorProfileProps.getConnectorProfileConfig()connectorProfileName(String connectorProfileName) Sets the value ofCfnConnectorProfileProps.getConnectorProfileName()connectorType(String connectorType) Sets the value ofCfnConnectorProfileProps.getConnectorType()Sets the value ofCfnConnectorProfileProps.getKmsArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionMode
Sets the value ofCfnConnectorProfileProps.getConnectionMode()- Parameters:
connectionMode- Indicates the connection mode and if it is public or private. This parameter is required.- Returns:
this
-
connectorProfileName
@Stability(Stable) public CfnConnectorProfileProps.Builder connectorProfileName(String connectorProfileName) Sets the value ofCfnConnectorProfileProps.getConnectorProfileName()- Parameters:
connectorProfileName- The name of the connector profile. This parameter is required. The name is unique for eachConnectorProfilein the AWS account .- Returns:
this
-
connectorType
Sets the value ofCfnConnectorProfileProps.getConnectorType()- Parameters:
connectorType- The type of connector, such as Salesforce, Amplitude, and so on. This parameter is required.- Returns:
this
-
connectorLabel
Sets the value ofCfnConnectorProfileProps.getConnectorLabel()- Parameters:
connectorLabel- The label for the connector profile being created.- Returns:
this
-
connectorProfileConfig
@Stability(Stable) public CfnConnectorProfileProps.Builder connectorProfileConfig(IResolvable connectorProfileConfig) Sets the value ofCfnConnectorProfileProps.getConnectorProfileConfig()- Parameters:
connectorProfileConfig- Defines the connector-specific configuration and credentials.- Returns:
this
-
connectorProfileConfig
@Stability(Stable) public CfnConnectorProfileProps.Builder connectorProfileConfig(CfnConnectorProfile.ConnectorProfileConfigProperty connectorProfileConfig) Sets the value ofCfnConnectorProfileProps.getConnectorProfileConfig()- Parameters:
connectorProfileConfig- Defines the connector-specific configuration and credentials.- Returns:
this
-
kmsArn
Sets the value ofCfnConnectorProfileProps.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<CfnConnectorProfileProps>- Returns:
- a new instance of
CfnConnectorProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-