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

com.pulumi.gcp.dataproc.kotlin.inputs.GetClusterIamPolicyPlainArgs.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.dataproc.kotlin.inputs

import com.pulumi.gcp.dataproc.inputs.GetClusterIamPolicyPlainArgs.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

/**
 * A collection of arguments for invoking getClusterIamPolicy.
 * @property cluster The name or relative resource id of the cluster to manage IAM policies for.
 * @property project
 * @property region
 */
public data class GetClusterIamPolicyPlainArgs(
    public val cluster: String,
    public val project: String? = null,
    public val region: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.GetClusterIamPolicyPlainArgs =
        com.pulumi.gcp.dataproc.inputs.GetClusterIamPolicyPlainArgs.builder()
            .cluster(cluster.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 }))
            .region(region?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetClusterIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetClusterIamPolicyPlainArgsBuilder internal constructor() {
    private var cluster: String? = null

    private var project: String? = null

    private var region: String? = null

    /**
     * @param value The name or relative resource id of the cluster to manage IAM policies for.
     */
    @JvmName("dmgtratgpkqglknj")
    public suspend fun cluster(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.cluster = mapped
    }

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

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

    internal fun build(): GetClusterIamPolicyPlainArgs = GetClusterIamPolicyPlainArgs(
        cluster = cluster ?: throw PulumiNullFieldException("cluster"),
        project = project,
        region = region,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy