com.pulumi.gcp.deploymentmanager.kotlin.inputs.DeploymentTargetImportArgs.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.DeploymentTargetImportArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property content The full contents of the template that you want to import.
* @property name The name of the template to import, as declared in the YAML
* configuration.
* - - -
*/
public data class DeploymentTargetImportArgs(
public val content: Output? = null,
public val name: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.deploymentmanager.inputs.DeploymentTargetImportArgs =
com.pulumi.gcp.deploymentmanager.inputs.DeploymentTargetImportArgs.builder()
.content(content?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DeploymentTargetImportArgs].
*/
@PulumiTagMarker
public class DeploymentTargetImportArgsBuilder internal constructor() {
private var content: Output? = null
private var name: Output? = null
/**
* @param value The full contents of the template that you want to import.
*/
@JvmName("xurrwkxlfthqsdsh")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value The name of the template to import, as declared in the YAML
* configuration.
* - - -
*/
@JvmName("sprolxwqudekbvic")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The full contents of the template that you want to import.
*/
@JvmName("maktyxpespkpearg")
public suspend fun content(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value The name of the template to import, as declared in the YAML
* configuration.
* - - -
*/
@JvmName("jklapccdovbvwfge")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): DeploymentTargetImportArgs = DeploymentTargetImportArgs(
content = content,
name = name,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy