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 Details

    • fileType

      Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.

      Parameters:
      fileType - Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileType

      Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.

      Parameters:
      fileType - Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the PrefixConfig.Builder avoiding the need to create one manually via PrefixConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to prefixConfig(PrefixConfig).

      Parameters:
      prefixConfig - a consumer that will call methods on PrefixConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the AggregationConfig.Builder avoiding the need to create one manually via AggregationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aggregationConfig(AggregationConfig).

      Parameters:
      aggregationConfig - a consumer that will call methods on AggregationConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 or 1 in 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 of 1 in 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 or 1 in 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 of 1 in 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.