![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.events.kotlin.inputs.ConnectionParameterArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.events.kotlin.inputs
import com.pulumi.awsnative.events.inputs.ConnectionParameterArgs.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.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property isValueSecret Specifies whether the value is secret.
* @property key The key for a query string parameter.
* @property value The value associated with the key for the query string parameter.
*/
public data class ConnectionParameterArgs(
public val isValueSecret: Output? = null,
public val key: Output,
public val `value`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.events.inputs.ConnectionParameterArgs =
com.pulumi.awsnative.events.inputs.ConnectionParameterArgs.builder()
.isValueSecret(isValueSecret?.applyValue({ args0 -> args0 }))
.key(key.applyValue({ args0 -> args0 }))
.`value`(`value`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectionParameterArgs].
*/
@PulumiTagMarker
public class ConnectionParameterArgsBuilder internal constructor() {
private var isValueSecret: Output? = null
private var key: Output? = null
private var `value`: Output? = null
/**
* @param value Specifies whether the value is secret.
*/
@JvmName("xopvemltcottxwdb")
public suspend fun isValueSecret(`value`: Output) {
this.isValueSecret = value
}
/**
* @param value The key for a query string parameter.
*/
@JvmName("apunchgaihmblyuk")
public suspend fun key(`value`: Output) {
this.key = value
}
/**
* @param value The value associated with the key for the query string parameter.
*/
@JvmName("fvfcadldduwfwtvf")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value Specifies whether the value is secret.
*/
@JvmName("jyvtovpsgvblipwc")
public suspend fun isValueSecret(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.isValueSecret = mapped
}
/**
* @param value The key for a query string parameter.
*/
@JvmName("mjvpjorcadgjnewe")
public suspend fun key(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.key = mapped
}
/**
* @param value The value associated with the key for the query string parameter.
*/
@JvmName("gbcnnhvlscpscqhi")
public suspend fun `value`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): ConnectionParameterArgs = ConnectionParameterArgs(
isValueSecret = isValueSecret,
key = key ?: throw PulumiNullFieldException("key"),
`value` = `value` ?: throw PulumiNullFieldException("value"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy