com.pulumi.awsnative.amplifyuibuilder.kotlin.inputs.ThemeValueArgs.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.amplifyuibuilder.kotlin.inputs
import com.pulumi.awsnative.amplifyuibuilder.inputs.ThemeValueArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property children A list of key-value pairs that define the theme's properties.
* @property value The value of a theme property.
*/
public data class ThemeValueArgs(
public val children: Output>? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.amplifyuibuilder.inputs.ThemeValueArgs =
com.pulumi.awsnative.amplifyuibuilder.inputs.ThemeValueArgs.builder()
.children(
children?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ThemeValueArgs].
*/
@PulumiTagMarker
public class ThemeValueArgsBuilder internal constructor() {
private var children: Output>? = null
private var `value`: Output? = null
/**
* @param value A list of key-value pairs that define the theme's properties.
*/
@JvmName("vffjrqcbobmpilxg")
public suspend fun children(`value`: Output>) {
this.children = value
}
@JvmName("htxwixmqngvmkngx")
public suspend fun children(vararg values: Output) {
this.children = Output.all(values.asList())
}
/**
* @param values A list of key-value pairs that define the theme's properties.
*/
@JvmName("vpkcpbnaxsvjfvoa")
public suspend fun children(values: List