Class CfnFlowPropsMixin.AggregationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnFlowPropsMixin.AggregationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.AggregationConfigProperty>
- Enclosing interface:
CfnFlowPropsMixin.AggregationConfigProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.AggregationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.AggregationConfigProperty>
A builder for
CfnFlowPropsMixin.AggregationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationType(String aggregationType) Sets the value ofCfnFlowPropsMixin.AggregationConfigProperty.getAggregationType()build()Builds the configured instance.targetFileSize(Number targetFileSize) Sets the value ofCfnFlowPropsMixin.AggregationConfigProperty.getTargetFileSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationType
@Stability(Stable) public CfnFlowPropsMixin.AggregationConfigProperty.Builder aggregationType(String aggregationType) Sets the value ofCfnFlowPropsMixin.AggregationConfigProperty.getAggregationType()- Parameters:
aggregationType- Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.- Returns:
this
-
targetFileSize
@Stability(Stable) public CfnFlowPropsMixin.AggregationConfigProperty.Builder targetFileSize(Number targetFileSize) Sets the value ofCfnFlowPropsMixin.AggregationConfigProperty.getTargetFileSize()- Parameters:
targetFileSize- The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.AggregationConfigProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.AggregationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-