com.pulumi.azure.nginx.kotlin.inputs.ConfigurationProtectedFileArgs.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.nginx.kotlin.inputs
import com.pulumi.azure.nginx.inputs.ConfigurationProtectedFileArgs.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 content
* @property virtualPath
*/
public data class ConfigurationProtectedFileArgs(
public val content: Output,
public val virtualPath: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.nginx.inputs.ConfigurationProtectedFileArgs =
com.pulumi.azure.nginx.inputs.ConfigurationProtectedFileArgs.builder()
.content(content.applyValue({ args0 -> args0 }))
.virtualPath(virtualPath.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ConfigurationProtectedFileArgs].
*/
@PulumiTagMarker
public class ConfigurationProtectedFileArgsBuilder internal constructor() {
private var content: Output? = null
private var virtualPath: Output? = null
/**
* @param value
*/
@JvmName("cfptthcfjonlbxvy")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value
*/
@JvmName("uxdkhfbfywdranfu")
public suspend fun virtualPath(`value`: Output) {
this.virtualPath = value
}
/**
* @param value
*/
@JvmName("rmigpotupjhpcpan")
public suspend fun content(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value
*/
@JvmName("xkdlhkifhkpyfrva")
public suspend fun virtualPath(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.virtualPath = mapped
}
internal fun build(): ConfigurationProtectedFileArgs = ConfigurationProtectedFileArgs(
content = content ?: throw PulumiNullFieldException("content"),
virtualPath = virtualPath ?: throw PulumiNullFieldException("virtualPath"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy