com.pulumi.azurenative.devhub.kotlin.inputs.IacTemplatePropertiesArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devhub.kotlin.inputs
import com.pulumi.azurenative.devhub.inputs.IacTemplatePropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Properties of a IacTemplate.
* @property instanceName the sample instance name of the template
* @property instanceStage the source stage of the template
* @property sourceResourceId the source store of the template
* @property templateDetails
* @property templateName Template Name
*/
public data class IacTemplatePropertiesArgs(
public val instanceName: Output? = null,
public val instanceStage: Output? = null,
public val sourceResourceId: Output? = null,
public val templateDetails: Output>? = null,
public val templateName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.devhub.inputs.IacTemplatePropertiesArgs =
com.pulumi.azurenative.devhub.inputs.IacTemplatePropertiesArgs.builder()
.instanceName(instanceName?.applyValue({ args0 -> args0 }))
.instanceStage(instanceStage?.applyValue({ args0 -> args0 }))
.sourceResourceId(sourceResourceId?.applyValue({ args0 -> args0 }))
.templateDetails(
templateDetails?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.templateName(templateName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IacTemplatePropertiesArgs].
*/
@PulumiTagMarker
public class IacTemplatePropertiesArgsBuilder internal constructor() {
private var instanceName: Output? = null
private var instanceStage: Output? = null
private var sourceResourceId: Output? = null
private var templateDetails: Output>? = null
private var templateName: Output? = null
/**
* @param value the sample instance name of the template
*/
@JvmName("fpwfgkmjknfppnob")
public suspend fun instanceName(`value`: Output) {
this.instanceName = value
}
/**
* @param value the source stage of the template
*/
@JvmName("oicubojaqgypvjcv")
public suspend fun instanceStage(`value`: Output) {
this.instanceStage = value
}
/**
* @param value the source store of the template
*/
@JvmName("dkcpvkvcbnxbluss")
public suspend fun sourceResourceId(`value`: Output) {
this.sourceResourceId = value
}
/**
* @param value
*/
@JvmName("nwrnppddlhhchylu")
public suspend fun templateDetails(`value`: Output>) {
this.templateDetails = value
}
@JvmName("ykkkrlcsnfnhslbh")
public suspend fun templateDetails(vararg values: Output) {
this.templateDetails = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("honomwfygpxxtqrd")
public suspend fun templateDetails(values: List