com.pulumi.awsnative.datapipeline.kotlin.inputs.PipelineParameterAttributeArgs.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.datapipeline.kotlin.inputs
import com.pulumi.awsnative.datapipeline.inputs.PipelineParameterAttributeArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property key The field identifier.
* @property stringValue The field value, expressed as a String.
*/
public data class PipelineParameterAttributeArgs(
public val key: Output,
public val stringValue: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.datapipeline.inputs.PipelineParameterAttributeArgs =
com.pulumi.awsnative.datapipeline.inputs.PipelineParameterAttributeArgs.builder()
.key(key.applyValue({ args0 -> args0 }))
.stringValue(stringValue.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PipelineParameterAttributeArgs].
*/
@PulumiTagMarker
public class PipelineParameterAttributeArgsBuilder internal constructor() {
private var key: Output? = null
private var stringValue: Output? = null
/**
* @param value The field identifier.
*/
@JvmName("ujlxfwdbcbobqixs")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value The field value, expressed as a String.
*/
@JvmName("cfpswiwuhoiidumx")
public suspend fun stringValue(`value`: Output) {
this.stringValue = value
}
/**
* @param value The field identifier.
*/
@JvmName("mdljonhxyppqisnv")
public suspend fun key(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value The field value, expressed as a String.
*/
@JvmName("xokyiqopndemufvl")
public suspend fun stringValue(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.stringValue = mapped
}
internal fun build(): PipelineParameterAttributeArgs = PipelineParameterAttributeArgs(
key = key ?: throw PulumiNullFieldException("key"),
stringValue = stringValue ?: throw PulumiNullFieldException("stringValue"),
)
}