com.pulumi.aws.mskconnect.kotlin.inputs.ConnectorPluginCustomPluginArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.mskconnect.kotlin.inputs
import com.pulumi.aws.mskconnect.inputs.ConnectorPluginCustomPluginArgs.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 The Amazon Resource Name (ARN) of the custom plugin.
* @property revision The revision of the custom plugin.
*/
public data class ConnectorPluginCustomPluginArgs(
public val arn: Output,
public val revision: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.mskconnect.inputs.ConnectorPluginCustomPluginArgs =
com.pulumi.aws.mskconnect.inputs.ConnectorPluginCustomPluginArgs.builder()
.arn(arn.applyValue({ args0 -> args0 }))
.revision(revision.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectorPluginCustomPluginArgs].
*/
@PulumiTagMarker
public class ConnectorPluginCustomPluginArgsBuilder internal constructor() {
private var arn: Output? = null
private var revision: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the custom plugin.
*/
@JvmName("fvaboxclkwtpmrae")
public suspend fun arn(`value`: Output) {
this.arn = value
}
/**
* @param value The revision of the custom plugin.
*/
@JvmName("llxdhfoqramjybgr")
public suspend fun revision(`value`: Output) {
this.revision = value
}
/**
* @param value The Amazon Resource Name (ARN) of the custom plugin.
*/
@JvmName("lushverurnmwrhrc")
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 custom plugin.
*/
@JvmName("edkruusotlghbtec")
public suspend fun revision(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.revision = mapped
}
internal fun build(): ConnectorPluginCustomPluginArgs = ConnectorPluginCustomPluginArgs(
arn = arn ?: throw PulumiNullFieldException("arn"),
revision = revision ?: throw PulumiNullFieldException("revision"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy