Class S3OutputFormatConfig

    • Method Detail

      • fileType

        public final FileType fileType()

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

        If the service returns an enum value that is not available in the current SDK version, fileType will return FileType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from fileTypeAsString().

        Returns:
        Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
        See Also:
        FileType
      • fileTypeAsString

        public final String fileTypeAsString()

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

        If the service returns an enum value that is not available in the current SDK version, fileType will return FileType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from fileTypeAsString().

        Returns:
        Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
        See Also:
        FileType
      • prefixConfig

        public final 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.

        Returns:
        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.
      • aggregationConfig

        public final AggregationConfig aggregationConfig()
        Returns the value of the AggregationConfig property for this object.
        Returns:
        The value of the AggregationConfig property for this object.
      • preserveSourceDataTyping

        public final 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.

        Returns:
        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.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)