com.pulumi.gcp.firebaserules.kotlin.inputs.RulesetSourceFileArgs.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.firebaserules.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.firebaserules.inputs.RulesetSourceFileArgs.builder
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 Textual Content.
* @property fingerprint Fingerprint (e.g. github sha) associated with the `File`.
* @property name File name.
* - - -
*/
public data class RulesetSourceFileArgs(
public val content: Output,
public val fingerprint: Output? = null,
public val name: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.firebaserules.inputs.RulesetSourceFileArgs =
com.pulumi.gcp.firebaserules.inputs.RulesetSourceFileArgs.builder()
.content(content.applyValue({ args0 -> args0 }))
.fingerprint(fingerprint?.applyValue({ args0 -> args0 }))
.name(name.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RulesetSourceFileArgs].
*/
@PulumiTagMarker
public class RulesetSourceFileArgsBuilder internal constructor() {
private var content: Output? = null
private var fingerprint: Output? = null
private var name: Output? = null
/**
* @param value Textual Content.
*/
@JvmName("cubuplwefxsdkjxc")
public suspend fun content(`value`: Output) {
this.content = value
}
/**
* @param value Fingerprint (e.g. github sha) associated with the `File`.
*/
@JvmName("ovecjifhvktxvoeu")
public suspend fun fingerprint(`value`: Output) {
this.fingerprint = value
}
/**
* @param value File name.
* - - -
*/
@JvmName("dcsiemlxkoieydgx")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Textual Content.
*/
@JvmName("rijwudmvctmvauux")
public suspend fun content(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.content = mapped
}
/**
* @param value Fingerprint (e.g. github sha) associated with the `File`.
*/
@JvmName("nuqdaclfvdvuiriv")
public suspend fun fingerprint(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.fingerprint = mapped
}
/**
* @param value File name.
* - - -
*/
@JvmName("dnivwkmftsmqnfxe")
public suspend fun name(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.name = mapped
}
internal fun build(): RulesetSourceFileArgs = RulesetSourceFileArgs(
content = content ?: throw PulumiNullFieldException("content"),
fingerprint = fingerprint,
name = name ?: throw PulumiNullFieldException("name"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy