Class CfnFlowPropsMixin.DataTransferApiProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnFlowPropsMixin.DataTransferApiProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.DataTransferApiProperty>
- Enclosing interface:
CfnFlowPropsMixin.DataTransferApiProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.DataTransferApiProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.DataTransferApiProperty>
A builder for
CfnFlowPropsMixin.DataTransferApiProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowPropsMixin.DataTransferApiProperty.getName()Sets the value ofCfnFlowPropsMixin.DataTransferApiProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlowPropsMixin.DataTransferApiProperty.getName()- Parameters:
name- The name of the connector application API.- Returns:
this
-
type
Sets the value ofCfnFlowPropsMixin.DataTransferApiProperty.getType()- Parameters:
type- You can specify one of the following types:.- AUTOMATIC - The default. Optimizes a flow for datasets that fluctuate in size from small to large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on the amount of data that the run transfers.
- SYNC - A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.
- ASYNC - An asynchronous API. This type of API optimizes a flow for large datasets.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.DataTransferApiProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.DataTransferApiProperty - Throws:
NullPointerException- if any required attribute was not provided
-