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

com.pulumi.gcp.iam.kotlin.inputs.ProjectsPolicyBindingTargetArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.iam.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.iam.inputs.ProjectsPolicyBindingTargetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property principalSet Required. Immutable. The resource name of the policy to be bound.
 * The binding parent and policy must belong to the same Organization (or Project).
 * - - -
 */
public data class ProjectsPolicyBindingTargetArgs(
    public val principalSet: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.iam.inputs.ProjectsPolicyBindingTargetArgs =
        com.pulumi.gcp.iam.inputs.ProjectsPolicyBindingTargetArgs.builder()
            .principalSet(principalSet?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ProjectsPolicyBindingTargetArgs].
 */
@PulumiTagMarker
public class ProjectsPolicyBindingTargetArgsBuilder internal constructor() {
    private var principalSet: Output? = null

    /**
     * @param value Required. Immutable. The resource name of the policy to be bound.
     * The binding parent and policy must belong to the same Organization (or Project).
     * - - -
     */
    @JvmName("bponrguyailjombb")
    public suspend fun principalSet(`value`: Output) {
        this.principalSet = value
    }

    /**
     * @param value Required. Immutable. The resource name of the policy to be bound.
     * The binding parent and policy must belong to the same Organization (or Project).
     * - - -
     */
    @JvmName("axovwdjjkjbijwek")
    public suspend fun principalSet(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.principalSet = mapped
    }

    internal fun build(): ProjectsPolicyBindingTargetArgs = ProjectsPolicyBindingTargetArgs(
        principalSet = principalSet,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy