All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.appflow.kotlin.inputs.FlowAggregationConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appflow.kotlin.inputs

import com.pulumi.awsnative.appflow.inputs.FlowAggregationConfigArgs.builder
import com.pulumi.awsnative.appflow.kotlin.enums.FlowAggregationType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property aggregationType Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
 * @property 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.
 */
public data class FlowAggregationConfigArgs(
    public val aggregationType: Output? = null,
    public val targetFileSize: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.appflow.inputs.FlowAggregationConfigArgs =
        com.pulumi.awsnative.appflow.inputs.FlowAggregationConfigArgs.builder()
            .aggregationType(aggregationType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .targetFileSize(targetFileSize?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FlowAggregationConfigArgs].
 */
@PulumiTagMarker
public class FlowAggregationConfigArgsBuilder internal constructor() {
    private var aggregationType: Output? = null

    private var targetFileSize: Output? = null

    /**
     * @param value Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
     */
    @JvmName("yjwporhpmiyfqsut")
    public suspend fun aggregationType(`value`: Output) {
        this.aggregationType = value
    }

    /**
     * @param value 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.
     */
    @JvmName("uctrsumffayqecmx")
    public suspend fun targetFileSize(`value`: Output) {
        this.targetFileSize = value
    }

    /**
     * @param value Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
     */
    @JvmName("orrjovjpxvqffquu")
    public suspend fun aggregationType(`value`: FlowAggregationType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.aggregationType = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("sdxrncqgkfcqteuh")
    public suspend fun targetFileSize(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetFileSize = mapped
    }

    internal fun build(): FlowAggregationConfigArgs = FlowAggregationConfigArgs(
        aggregationType = aggregationType,
        targetFileSize = targetFileSize,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy