All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.clouddeploy.kotlin.TargetIamPolicyArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.clouddeploy.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.clouddeploy.TargetIamPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property location
 * @property name
 * @property policyData
 * @property project
 */
public data class TargetIamPolicyArgs(
    public val location: Output? = null,
    public val name: Output? = null,
    public val policyData: Output? = null,
    public val project: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.clouddeploy.TargetIamPolicyArgs =
        com.pulumi.gcp.clouddeploy.TargetIamPolicyArgs.builder()
            .location(location?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .policyData(policyData?.applyValue({ args0 -> args0 }))
            .project(project?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TargetIamPolicyArgs].
 */
@PulumiTagMarker
public class TargetIamPolicyArgsBuilder internal constructor() {
    private var location: Output? = null

    private var name: Output? = null

    private var policyData: Output? = null

    private var project: Output? = null

    /**
     * @param value
     */
    @JvmName("yuktdlhobawyvxtu")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value
     */
    @JvmName("aqprttlxxkldhlri")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("jwtilyluttbjxsbd")
    public suspend fun policyData(`value`: Output) {
        this.policyData = value
    }

    /**
     * @param value
     */
    @JvmName("pykgrmdbmmlancby")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value
     */
    @JvmName("kcryrrxsnvjyoytw")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value
     */
    @JvmName("wbnclrfpelftgggg")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("ykgdcspcnmquagfv")
    public suspend fun policyData(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.policyData = mapped
    }

    /**
     * @param value
     */
    @JvmName("yhjevwkrlveicfxe")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    internal fun build(): TargetIamPolicyArgs = TargetIamPolicyArgs(
        location = location,
        name = name,
        policyData = policyData,
        project = project,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy