com.pulumi.awsnative.quicksight.kotlin.inputs.DataSetRefreshConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.quicksight.kotlin.inputs
import com.pulumi.awsnative.quicksight.inputs.DataSetRefreshConfigurationArgs.builder
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
/**
* The refresh configuration of a dataset.
* @property incrementalRefresh The incremental refresh for the dataset.
*/
public data class DataSetRefreshConfigurationArgs(
public val incrementalRefresh: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.quicksight.inputs.DataSetRefreshConfigurationArgs =
com.pulumi.awsnative.quicksight.inputs.DataSetRefreshConfigurationArgs.builder()
.incrementalRefresh(
incrementalRefresh.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [DataSetRefreshConfigurationArgs].
*/
@PulumiTagMarker
public class DataSetRefreshConfigurationArgsBuilder internal constructor() {
private var incrementalRefresh: Output? = null
/**
* @param value The incremental refresh for the dataset.
*/
@JvmName("vadootjclwhqfddg")
public suspend fun incrementalRefresh(`value`: Output) {
this.incrementalRefresh = value
}
/**
* @param value The incremental refresh for the dataset.
*/
@JvmName("mfmdhofaujbkjypu")
public suspend fun incrementalRefresh(`value`: DataSetIncrementalRefreshArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.incrementalRefresh = mapped
}
/**
* @param argument The incremental refresh for the dataset.
*/
@JvmName("jqgbugkcufmlutnm")
public suspend fun incrementalRefresh(argument: suspend DataSetIncrementalRefreshArgsBuilder.() -> Unit) {
val toBeMapped = DataSetIncrementalRefreshArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.incrementalRefresh = mapped
}
internal fun build(): DataSetRefreshConfigurationArgs = DataSetRefreshConfigurationArgs(
incrementalRefresh = incrementalRefresh ?: throw PulumiNullFieldException("incrementalRefresh"),
)
}