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

com.pulumi.gcp.clouddeploy.kotlin.TargetIamMemberArgs.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.TargetIamMemberArgs.builder
import com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetIamMemberConditionArgs
import com.pulumi.gcp.clouddeploy.kotlin.inputs.TargetIamMemberConditionArgsBuilder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

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

/**
 * Builder for [TargetIamMemberArgs].
 */
@PulumiTagMarker
public class TargetIamMemberArgsBuilder internal constructor() {
    private var condition: Output? = null

    private var location: Output? = null

    private var member: Output? = null

    private var name: Output? = null

    private var project: Output? = null

    private var role: Output? = null

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

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

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

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

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

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

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

    /**
     * @param argument
     */
    @JvmName("yyoywaqbgjylafhu")
    public suspend fun condition(argument: suspend TargetIamMemberConditionArgsBuilder.() -> Unit) {
        val toBeMapped = TargetIamMemberConditionArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.condition = mapped
    }

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

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

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

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

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

    internal fun build(): TargetIamMemberArgs = TargetIamMemberArgs(
        condition = condition,
        location = location,
        member = member,
        name = name,
        project = project,
        role = role,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy