
com.pulumi.awsnative.msk.kotlin.inputs.ClusterConfigurationInfoArgs.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.msk.kotlin.inputs
import com.pulumi.awsnative.msk.inputs.ClusterConfigurationInfoArgs.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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property arn ARN of the configuration to use.
* @property revision The revision of the configuration to use.
*/
public data class ClusterConfigurationInfoArgs(
public val arn: Output,
public val revision: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.msk.inputs.ClusterConfigurationInfoArgs =
com.pulumi.awsnative.msk.inputs.ClusterConfigurationInfoArgs.builder()
.arn(arn.applyValue({ args0 -> args0 }))
.revision(revision.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterConfigurationInfoArgs].
*/
@PulumiTagMarker
public class ClusterConfigurationInfoArgsBuilder internal constructor() {
private var arn: Output? = null
private var revision: Output? = null
/**
* @param value ARN of the configuration to use.
*/
@JvmName("txmnhrccqgopnuvr")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value The revision of the configuration to use.
*/
@JvmName("jpwchtdprnllwaov")
public suspend fun revision(`value`: Output) {
this.revision = value
}
/**
* @param value ARN of the configuration to use.
*/
@JvmName("pumwwiklaquoqlao")
public suspend fun arn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.arn = mapped
}
/**
* @param value The revision of the configuration to use.
*/
@JvmName("nucwcgvdrbbfavep")
public suspend fun revision(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.revision = mapped
}
internal fun build(): ClusterConfigurationInfoArgs = ClusterConfigurationInfoArgs(
arn = arn ?: throw PulumiNullFieldException("arn"),
revision = revision ?: throw PulumiNullFieldException("revision"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy