com.pulumi.awsnative.elasticloadbalancingv2.kotlin.inputs.TargetGroupAttributeArgs.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.elasticloadbalancingv2.kotlin.inputs
import com.pulumi.awsnative.elasticloadbalancingv2.inputs.TargetGroupAttributeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property key The value of the attribute.
* @property value The name of the attribute.
*/
public data class TargetGroupAttributeArgs(
public val key: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.elasticloadbalancingv2.inputs.TargetGroupAttributeArgs = com.pulumi.awsnative.elasticloadbalancingv2.inputs.TargetGroupAttributeArgs.builder()
.key(key?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TargetGroupAttributeArgs].
*/
@PulumiTagMarker
public class TargetGroupAttributeArgsBuilder internal constructor() {
private var key: Output? = null
private var `value`: Output? = null
/**
* @param value The value of the attribute.
*/
@JvmName("qbqeevpjqjjeisam")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value The name of the attribute.
*/
@JvmName("manovqxwpuwhekov")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The value of the attribute.
*/
@JvmName("oagdlitojmykestu")
public suspend fun key(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value The name of the attribute.
*/
@JvmName("opgqyxycdayxuygk")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): TargetGroupAttributeArgs = TargetGroupAttributeArgs(
key = key,
`value` = `value`,
)
}