Class CfnFlow.AggregationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.AggregationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.AggregationConfigProperty>
- Enclosing interface:
CfnFlow.AggregationConfigProperty
@Stability(Stable)
public static final class CfnFlow.AggregationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.AggregationConfigProperty>
A builder for
CfnFlow.AggregationConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregationType
(String aggregationType) Sets the value ofCfnFlow.AggregationConfigProperty.getAggregationType()
build()
Builds the configured instance.targetFileSize
(Number targetFileSize) Sets the value ofCfnFlow.AggregationConfigProperty.getTargetFileSize()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationType
@Stability(Stable) public CfnFlow.AggregationConfigProperty.Builder aggregationType(String aggregationType) Sets the value ofCfnFlow.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 CfnFlow.AggregationConfigProperty.Builder targetFileSize(Number targetFileSize) Sets the value ofCfnFlow.AggregationConfigProperty.getTargetFileSize()
- Parameters:
targetFileSize
-CfnFlow.AggregationConfigProperty.TargetFileSize
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.AggregationConfigProperty>
- Returns:
- a new instance of
CfnFlow.AggregationConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-