![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.lighthouse.kotlin.inputs.DefinitionPlanArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.lighthouse.kotlin.inputs
import com.pulumi.azure.lighthouse.inputs.DefinitionPlanArgs.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 name The plan name of the marketplace offer.
* @property product The product code of the plan.
* @property publisher The publisher ID of the plan.
* @property version The version of the plan.
*/
public data class DefinitionPlanArgs(
public val name: Output,
public val product: Output,
public val publisher: Output,
public val version: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.lighthouse.inputs.DefinitionPlanArgs =
com.pulumi.azure.lighthouse.inputs.DefinitionPlanArgs.builder()
.name(name.applyValue({ args0 -> args0 }))
.product(product.applyValue({ args0 -> args0 }))
.publisher(publisher.applyValue({ args0 -> args0 }))
.version(version.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DefinitionPlanArgs].
*/
@PulumiTagMarker
public class DefinitionPlanArgsBuilder internal constructor() {
private var name: Output? = null
private var product: Output? = null
private var publisher: Output? = null
private var version: Output? = null
/**
* @param value The plan name of the marketplace offer.
*/
@JvmName("xvdqbgjvkllbmtnx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The product code of the plan.
*/
@JvmName("rjfopvvvlatmkave")
public suspend fun product(`value`: Output) {
this.product = value
}
/**
* @param value The publisher ID of the plan.
*/
@JvmName("wkirlghxvqtyajun")
public suspend fun publisher(`value`: Output) {
this.publisher = value
}
/**
* @param value The version of the plan.
*/
@JvmName("esnljwqpwefjinda")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value The plan name of the marketplace offer.
*/
@JvmName("cooodywcscuevrlf")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The product code of the plan.
*/
@JvmName("jygpkhrltiqbvckv")
public suspend fun product(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.product = mapped
}
/**
* @param value The publisher ID of the plan.
*/
@JvmName("dqahmldebdynbqvn")
public suspend fun publisher(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.publisher = mapped
}
/**
* @param value The version of the plan.
*/
@JvmName("bivrmowgqswonjer")
public suspend fun version(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): DefinitionPlanArgs = DefinitionPlanArgs(
name = name ?: throw PulumiNullFieldException("name"),
product = product ?: throw PulumiNullFieldException("product"),
publisher = publisher ?: throw PulumiNullFieldException("publisher"),
version = version ?: throw PulumiNullFieldException("version"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy