
com.pulumi.awsnative.kafkaconnect.kotlin.inputs.ConnectorCustomPluginArgs.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.kafkaconnect.kotlin.inputs
import com.pulumi.awsnative.kafkaconnect.inputs.ConnectorCustomPluginArgs.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
/**
* Details about a custom plugin.
* @property customPluginArn The Amazon Resource Name (ARN) of the custom plugin to use.
* @property revision The revision of the custom plugin to use.
*/
public data class ConnectorCustomPluginArgs(
public val customPluginArn: Output,
public val revision: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.kafkaconnect.inputs.ConnectorCustomPluginArgs =
com.pulumi.awsnative.kafkaconnect.inputs.ConnectorCustomPluginArgs.builder()
.customPluginArn(customPluginArn.applyValue({ args0 -> args0 }))
.revision(revision.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConnectorCustomPluginArgs].
*/
@PulumiTagMarker
public class ConnectorCustomPluginArgsBuilder internal constructor() {
private var customPluginArn: Output? = null
private var revision: Output? = null
/**
* @param value The Amazon Resource Name (ARN) of the custom plugin to use.
*/
@JvmName("havbgqcbsxyuevkb")
public suspend fun customPluginArn(`value`: Output) {
this.customPluginArn = value
}
/**
* @param value The revision of the custom plugin to use.
*/
@JvmName("qbnnqrjwawrsnflo")
public suspend fun revision(`value`: Output) {
this.revision = value
}
/**
* @param value The Amazon Resource Name (ARN) of the custom plugin to use.
*/
@JvmName("efcjabvbhlvjnuyk")
public suspend fun customPluginArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.customPluginArn = mapped
}
/**
* @param value The revision of the custom plugin to use.
*/
@JvmName("unroysyffaxlkcdu")
public suspend fun revision(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.revision = mapped
}
internal fun build(): ConnectorCustomPluginArgs = ConnectorCustomPluginArgs(
customPluginArn = customPluginArn ?: throw PulumiNullFieldException("customPluginArn"),
revision = revision ?: throw PulumiNullFieldException("revision"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy