com.pulumi.gcp.deploymentmanager.kotlin.inputs.DeploymentTargetArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.deploymentmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.deploymentmanager.inputs.DeploymentTargetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property config The root configuration file to use for this deployment.
* Structure is documented below.
* @property imports Specifies import files for this configuration. This can be
* used to import templates or other files. For example, you might
* import a text file in order to use the file in a template.
* Structure is documented below.
*/
public data class DeploymentTargetArgs(
public val config: Output,
public val imports: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.deploymentmanager.inputs.DeploymentTargetArgs =
com.pulumi.gcp.deploymentmanager.inputs.DeploymentTargetArgs.builder()
.config(config.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.imports(
imports?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [DeploymentTargetArgs].
*/
@PulumiTagMarker
public class DeploymentTargetArgsBuilder internal constructor() {
private var config: Output? = null
private var imports: Output>? = null
/**
* @param value The root configuration file to use for this deployment.
* Structure is documented below.
*/
@JvmName("xhjcgdpmvyoijbes")
public suspend fun config(`value`: Output) {
this.config = value
}
/**
* @param value Specifies import files for this configuration. This can be
* used to import templates or other files. For example, you might
* import a text file in order to use the file in a template.
* Structure is documented below.
*/
@JvmName("kxrxscyjxqdsbyny")
public suspend fun imports(`value`: Output>) {
this.imports = value
}
@JvmName("itjfqxnvcaqiltvv")
public suspend fun imports(vararg values: Output) {
this.imports = Output.all(values.asList())
}
/**
* @param values Specifies import files for this configuration. This can be
* used to import templates or other files. For example, you might
* import a text file in order to use the file in a template.
* Structure is documented below.
*/
@JvmName("cqlxkmykpstjrxur")
public suspend fun imports(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy