com.pulumi.awsnative.qbusiness.kotlin.inputs.PluginApiSchema0PropertiesArgs.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.qbusiness.kotlin.inputs
import com.pulumi.awsnative.qbusiness.inputs.PluginApiSchema0PropertiesArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property payload
*/
public data class PluginApiSchema0PropertiesArgs(
public val payload: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.qbusiness.inputs.PluginApiSchema0PropertiesArgs =
com.pulumi.awsnative.qbusiness.inputs.PluginApiSchema0PropertiesArgs.builder()
.payload(payload.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PluginApiSchema0PropertiesArgs].
*/
@PulumiTagMarker
public class PluginApiSchema0PropertiesArgsBuilder internal constructor() {
private var payload: Output? = null
/**
* @param value
*/
@JvmName("xgkfkkvmktrwvltn")
public suspend fun payload(`value`: Output) {
this.payload = value
}
/**
* @param value
*/
@JvmName("jagtxhbayajnxrxc")
public suspend fun payload(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.payload = mapped
}
internal fun build(): PluginApiSchema0PropertiesArgs = PluginApiSchema0PropertiesArgs(
payload = payload ?: throw PulumiNullFieldException("payload"),
)
}