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

com.pulumi.gcp.dataproc.kotlin.inputs.GetJobIamPolicyPlainArgs.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.GetJobIamPolicyPlainArgs.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 getJobIamPolicy.
 * @property jobId The name or relative resource id of the job to manage IAM policies for.
 * @property project
 * @property region
 */
public data class GetJobIamPolicyPlainArgs(
    public val jobId: String,
    public val project: String? = null,
    public val region: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.GetJobIamPolicyPlainArgs =
        com.pulumi.gcp.dataproc.inputs.GetJobIamPolicyPlainArgs.builder()
            .jobId(jobId.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 }))
            .region(region?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetJobIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetJobIamPolicyPlainArgsBuilder internal constructor() {
    private var jobId: String? = null

    private var project: String? = null

    private var region: String? = null

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

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

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

    internal fun build(): GetJobIamPolicyPlainArgs = GetJobIamPolicyPlainArgs(
        jobId = jobId ?: throw PulumiNullFieldException("jobId"),
        project = project,
        region = region,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy