Interface S3OutputFormatConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3OutputFormatConfig.Builder,S3OutputFormatConfig>,SdkBuilder<S3OutputFormatConfig.Builder,S3OutputFormatConfig>,SdkPojo
- Enclosing class:
- S3OutputFormatConfig
public static interface S3OutputFormatConfig.Builder extends SdkPojo, CopyableBuilder<S3OutputFormatConfig.Builder,S3OutputFormatConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3OutputFormatConfig.BuilderaggregationConfig(Consumer<AggregationConfig.Builder> aggregationConfig)Sets the value of the AggregationConfig property for this object.S3OutputFormatConfig.BuilderaggregationConfig(AggregationConfig aggregationConfig)Sets the value of the AggregationConfig property for this object.S3OutputFormatConfig.BuilderfileType(String fileType)Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.S3OutputFormatConfig.BuilderfileType(FileType fileType)Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.default S3OutputFormatConfig.BuilderprefixConfig(Consumer<PrefixConfig.Builder> prefixConfig)Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket.S3OutputFormatConfig.BuilderprefixConfig(PrefixConfig prefixConfig)Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket.S3OutputFormatConfig.BuilderpreserveSourceDataTyping(Boolean preserveSourceDataTyping)If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
fileType
S3OutputFormatConfig.Builder fileType(String fileType)
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
-
fileType
S3OutputFormatConfig.Builder fileType(FileType fileType)
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
-
prefixConfig
S3OutputFormatConfig.Builder prefixConfig(PrefixConfig prefixConfig)
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.
- Parameters:
prefixConfig- Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixConfig
default S3OutputFormatConfig.Builder prefixConfig(Consumer<PrefixConfig.Builder> prefixConfig)
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.
This is a convenience method that creates an instance of thePrefixConfig.Builderavoiding the need to create one manually viaPrefixConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprefixConfig(PrefixConfig).- Parameters:
prefixConfig- a consumer that will call methods onPrefixConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
prefixConfig(PrefixConfig)
-
aggregationConfig
S3OutputFormatConfig.Builder aggregationConfig(AggregationConfig aggregationConfig)
Sets the value of the AggregationConfig property for this object.- Parameters:
aggregationConfig- The new value for the AggregationConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationConfig
default S3OutputFormatConfig.Builder aggregationConfig(Consumer<AggregationConfig.Builder> aggregationConfig)
Sets the value of the AggregationConfig property for this object. This is a convenience method that creates an instance of theAggregationConfig.Builderavoiding the need to create one manually viaAggregationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationConfig(AggregationConfig).- Parameters:
aggregationConfig- a consumer that will call methods onAggregationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aggregationConfig(AggregationConfig)
-
preserveSourceDataTyping
S3OutputFormatConfig.Builder preserveSourceDataTyping(Boolean preserveSourceDataTyping)
If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.
-
true: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1in your source data is still an integer in your output. -
false: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1in your source data becomes the string"1"in the output.
- Parameters:
preserveSourceDataTyping- If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.-
true: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1in your source data is still an integer in your output. -
false: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1in your source data becomes the string"1"in the output.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-