Class CfnConnectorProfile.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnConnectorProfile.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectorProfile>
- Enclosing class:
CfnConnectorProfile
@Stability(Stable)
public static final class CfnConnectorProfile.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectorProfile>
A fluent builder for
CfnConnectorProfile
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
connectionMode
(String connectionMode) Indicates the connection mode and if it is public or private.connectorLabel
(String connectorLabel) The label for the connector profile being created.connectorProfileConfig
(IResolvable connectorProfileConfig) Defines the connector-specific configuration and credentials.connectorProfileConfig
(CfnConnectorProfile.ConnectorProfileConfigProperty connectorProfileConfig) Defines the connector-specific configuration and credentials.connectorProfileName
(String connectorProfileName) The name of the connector profile.connectorType
(String connectorType) The type of connector, such as Salesforce, Amplitude, and so on.static CfnConnectorProfile.Builder
The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.
-
Method Details
-
create
@Stability(Stable) public static CfnConnectorProfile.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnConnectorProfile.Builder
.
-
connectionMode
Indicates the connection mode and if it is public or private.- Parameters:
connectionMode
- Indicates the connection mode and if it is public or private. This parameter is required.- Returns:
this
- See Also:
-
connectorProfileName
@Stability(Stable) public CfnConnectorProfile.Builder connectorProfileName(String connectorProfileName) The name of the connector profile.The name is unique for each
ConnectorProfile
in the AWS account .- Parameters:
connectorProfileName
- The name of the connector profile. This parameter is required.- Returns:
this
- See Also:
-
connectorType
The type of connector, such as Salesforce, Amplitude, and so on.- Parameters:
connectorType
- The type of connector, such as Salesforce, Amplitude, and so on. This parameter is required.- Returns:
this
- See Also:
-
connectorLabel
The label for the connector profile being created.- Parameters:
connectorLabel
- The label for the connector profile being created. This parameter is required.- Returns:
this
- See Also:
-
connectorProfileConfig
@Stability(Stable) public CfnConnectorProfile.Builder connectorProfileConfig(IResolvable connectorProfileConfig) Defines the connector-specific configuration and credentials.- Parameters:
connectorProfileConfig
- Defines the connector-specific configuration and credentials. This parameter is required.- Returns:
this
- See Also:
-
connectorProfileConfig
@Stability(Stable) public CfnConnectorProfile.Builder connectorProfileConfig(CfnConnectorProfile.ConnectorProfileConfigProperty connectorProfileConfig) Defines the connector-specific configuration and credentials.- Parameters:
connectorProfileConfig
- Defines the connector-specific configuration and credentials. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
kmsArn
- The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConnectorProfile>
- Returns:
- a newly built instance of
CfnConnectorProfile
.
-