Class CfnFlow.DataTransferApiProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.DataTransferApiProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.DataTransferApiProperty>
- Enclosing interface:
CfnFlow.DataTransferApiProperty
@Stability(Stable)
public static final class CfnFlow.DataTransferApiProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.DataTransferApiProperty>
A builder for
CfnFlow.DataTransferApiProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFlow.DataTransferApiProperty.getName()
Sets the value ofCfnFlow.DataTransferApiProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnFlow.DataTransferApiProperty.getName()
- Parameters:
name
- The name of the connector application API. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnFlow.DataTransferApiProperty.getType()
- Parameters:
type
- You can specify one of the following types:. This parameter is required.- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.DataTransferApiProperty>
- Returns:
- a new instance of
CfnFlow.DataTransferApiProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-