
com.pulumi.awsnative.appflow.kotlin.inputs.FlowUpsolverS3OutputFormatConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.appflow.kotlin.inputs
import com.pulumi.awsnative.appflow.inputs.FlowUpsolverS3OutputFormatConfigArgs.builder
import com.pulumi.awsnative.appflow.kotlin.enums.FlowFileType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property aggregationConfig The aggregation settings that you can use to customize the output format of your flow data.
* @property fileType Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
* @property prefixConfig Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
*/
public data class FlowUpsolverS3OutputFormatConfigArgs(
public val aggregationConfig: Output? = null,
public val fileType: Output? = null,
public val prefixConfig: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.appflow.inputs.FlowUpsolverS3OutputFormatConfigArgs =
com.pulumi.awsnative.appflow.inputs.FlowUpsolverS3OutputFormatConfigArgs.builder()
.aggregationConfig(aggregationConfig?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.fileType(fileType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.prefixConfig(prefixConfig.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [FlowUpsolverS3OutputFormatConfigArgs].
*/
@PulumiTagMarker
public class FlowUpsolverS3OutputFormatConfigArgsBuilder internal constructor() {
private var aggregationConfig: Output? = null
private var fileType: Output? = null
private var prefixConfig: Output? = null
/**
* @param value The aggregation settings that you can use to customize the output format of your flow data.
*/
@JvmName("uygwfubxrhbuwuhn")
public suspend fun aggregationConfig(`value`: Output) {
this.aggregationConfig = value
}
/**
* @param value Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
*/
@JvmName("ldtapvxaygfxhuay")
public suspend fun fileType(`value`: Output) {
this.fileType = value
}
/**
* @param value Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
*/
@JvmName("eviexaqlrpetunok")
public suspend fun prefixConfig(`value`: Output) {
this.prefixConfig = value
}
/**
* @param value The aggregation settings that you can use to customize the output format of your flow data.
*/
@JvmName("thwipqnwcjfhmdny")
public suspend fun aggregationConfig(`value`: FlowAggregationConfigArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.aggregationConfig = mapped
}
/**
* @param argument The aggregation settings that you can use to customize the output format of your flow data.
*/
@JvmName("fkyvxshstfserywl")
public suspend fun aggregationConfig(argument: suspend FlowAggregationConfigArgsBuilder.() -> Unit) {
val toBeMapped = FlowAggregationConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.aggregationConfig = mapped
}
/**
* @param value Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
*/
@JvmName("enkgdrqbbughwggd")
public suspend fun fileType(`value`: FlowFileType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fileType = mapped
}
/**
* @param value Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
*/
@JvmName("dsliourhssltghqq")
public suspend fun prefixConfig(`value`: FlowPrefixConfigArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.prefixConfig = mapped
}
/**
* @param argument Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
*/
@JvmName("pehkhjtbamniufmn")
public suspend fun prefixConfig(argument: suspend FlowPrefixConfigArgsBuilder.() -> Unit) {
val toBeMapped = FlowPrefixConfigArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.prefixConfig = mapped
}
internal fun build(): FlowUpsolverS3OutputFormatConfigArgs = FlowUpsolverS3OutputFormatConfigArgs(
aggregationConfig = aggregationConfig,
fileType = fileType,
prefixConfig = prefixConfig ?: throw PulumiNullFieldException("prefixConfig"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy