com.pulumi.awsnative.iotanalytics.kotlin.inputs.DatasetVariableArgs.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.iotanalytics.kotlin.inputs
import com.pulumi.awsnative.iotanalytics.inputs.DatasetVariableArgs.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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property datasetContentVersionValue The value of the variable as a structure that specifies a dataset content version.
* @property doubleValue The value of the variable as a double (numeric).
* @property outputFileUriValue The value of the variable as a structure that specifies an output file URI.
* @property stringValue The value of the variable as a string.
* @property variableName The name of the variable.
*/
public data class DatasetVariableArgs(
public val datasetContentVersionValue: Output? = null,
public val doubleValue: Output? = null,
public val outputFileUriValue: Output? = null,
public val stringValue: Output? = null,
public val variableName: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iotanalytics.inputs.DatasetVariableArgs =
com.pulumi.awsnative.iotanalytics.inputs.DatasetVariableArgs.builder()
.datasetContentVersionValue(
datasetContentVersionValue?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.doubleValue(doubleValue?.applyValue({ args0 -> args0 }))
.outputFileUriValue(
outputFileUriValue?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.stringValue(stringValue?.applyValue({ args0 -> args0 }))
.variableName(variableName.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DatasetVariableArgs].
*/
@PulumiTagMarker
public class DatasetVariableArgsBuilder internal constructor() {
private var datasetContentVersionValue: Output? = null
private var doubleValue: Output? = null
private var outputFileUriValue: Output? = null
private var stringValue: Output? = null
private var variableName: Output? = null
/**
* @param value The value of the variable as a structure that specifies a dataset content version.
*/
@JvmName("vbvfqhrhflsdbmfj")
public suspend fun datasetContentVersionValue(`value`: Output) {
this.datasetContentVersionValue = value
}
/**
* @param value The value of the variable as a double (numeric).
*/
@JvmName("fmtccsybivblxqlt")
public suspend fun doubleValue(`value`: Output) {
this.doubleValue = value
}
/**
* @param value The value of the variable as a structure that specifies an output file URI.
*/
@JvmName("pbrjxjnntlserrtv")
public suspend fun outputFileUriValue(`value`: Output) {
this.outputFileUriValue = value
}
/**
* @param value The value of the variable as a string.
*/
@JvmName("ejqineqyqhfpkdpa")
public suspend fun stringValue(`value`: Output) {
this.stringValue = value
}
/**
* @param value The name of the variable.
*/
@JvmName("oftkkqqxstvlpusl")
public suspend fun variableName(`value`: Output) {
this.variableName = value
}
/**
* @param value The value of the variable as a structure that specifies a dataset content version.
*/
@JvmName("bepaawwucpopodis")
public suspend fun datasetContentVersionValue(`value`: DatasetContentVersionValueArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.datasetContentVersionValue = mapped
}
/**
* @param argument The value of the variable as a structure that specifies a dataset content version.
*/
@JvmName("kgyqyqcondmcafdu")
public suspend fun datasetContentVersionValue(argument: suspend DatasetContentVersionValueArgsBuilder.() -> Unit) {
val toBeMapped = DatasetContentVersionValueArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.datasetContentVersionValue = mapped
}
/**
* @param value The value of the variable as a double (numeric).
*/
@JvmName("xokbgrjagjcybipo")
public suspend fun doubleValue(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.doubleValue = mapped
}
/**
* @param value The value of the variable as a structure that specifies an output file URI.
*/
@JvmName("fvvdkxgjqriciojd")
public suspend fun outputFileUriValue(`value`: DatasetOutputFileUriValueArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.outputFileUriValue = mapped
}
/**
* @param argument The value of the variable as a structure that specifies an output file URI.
*/
@JvmName("yifqijkpowsmdjle")
public suspend fun outputFileUriValue(argument: suspend DatasetOutputFileUriValueArgsBuilder.() -> Unit) {
val toBeMapped = DatasetOutputFileUriValueArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.outputFileUriValue = mapped
}
/**
* @param value The value of the variable as a string.
*/
@JvmName("wbfoxvmlhhjoiyki")
public suspend fun stringValue(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.stringValue = mapped
}
/**
* @param value The name of the variable.
*/
@JvmName("rlttkpkpsexykvjn")
public suspend fun variableName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.variableName = mapped
}
internal fun build(): DatasetVariableArgs = DatasetVariableArgs(
datasetContentVersionValue = datasetContentVersionValue,
doubleValue = doubleValue,
outputFileUriValue = outputFileUriValue,
stringValue = stringValue,
variableName = variableName ?: throw PulumiNullFieldException("variableName"),
)
}