Class CfnFlow.DestinationFlowConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.DestinationFlowConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.DestinationFlowConfigProperty>
- Enclosing interface:
- CfnFlow.DestinationFlowConfigProperty
@Stability(Stable)
public static final class CfnFlow.DestinationFlowConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.DestinationFlowConfigProperty>
A builder for
CfnFlow.DestinationFlowConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) Sets the value ofCfnFlow.DestinationFlowConfigProperty.getApiVersion()
build()
Builds the configured instance.connectorProfileName
(String connectorProfileName) Sets the value ofCfnFlow.DestinationFlowConfigProperty.getConnectorProfileName()
connectorType
(String connectorType) Sets the value ofCfnFlow.DestinationFlowConfigProperty.getConnectorType()
destinationConnectorProperties
(IResolvable destinationConnectorProperties) destinationConnectorProperties
(CfnFlow.DestinationConnectorPropertiesProperty destinationConnectorProperties)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectorType
@Stability(Stable) public CfnFlow.DestinationFlowConfigProperty.Builder connectorType(String connectorType) Sets the value ofCfnFlow.DestinationFlowConfigProperty.getConnectorType()
- Parameters:
connectorType
- The type of destination connector, such as Sales force, Amazon S3, and so on. This parameter is required. Allowed Values :EventBridge | Redshift | S3 | Salesforce | Snowflake
- Returns:
this
-
destinationConnectorProperties
@Stability(Stable) public CfnFlow.DestinationFlowConfigProperty.Builder destinationConnectorProperties(IResolvable destinationConnectorProperties) - Parameters:
destinationConnectorProperties
- This stores the information that is required to query a particular connector. This parameter is required.- Returns:
this
-
destinationConnectorProperties
@Stability(Stable) public CfnFlow.DestinationFlowConfigProperty.Builder destinationConnectorProperties(CfnFlow.DestinationConnectorPropertiesProperty destinationConnectorProperties) - Parameters:
destinationConnectorProperties
- This stores the information that is required to query a particular connector. This parameter is required.- Returns:
this
-
apiVersion
@Stability(Stable) public CfnFlow.DestinationFlowConfigProperty.Builder apiVersion(String apiVersion) Sets the value ofCfnFlow.DestinationFlowConfigProperty.getApiVersion()
- Parameters:
apiVersion
- The API version that the destination connector uses.- Returns:
this
-
connectorProfileName
@Stability(Stable) public CfnFlow.DestinationFlowConfigProperty.Builder connectorProfileName(String connectorProfileName) Sets the value ofCfnFlow.DestinationFlowConfigProperty.getConnectorProfileName()
- Parameters:
connectorProfileName
- The name of the connector profile. This name must be unique for each connector profile in the AWS account .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.DestinationFlowConfigProperty>
- Returns:
- a new instance of
CfnFlow.DestinationFlowConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-