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

com.pulumi.gcp.dataplex.kotlin.inputs.GetTaskIamPolicyPlainArgs.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataplex.kotlin.inputs

import com.pulumi.gcp.dataplex.inputs.GetTaskIamPolicyPlainArgs.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 getTaskIamPolicy.
 * @property lake The lake in which the task will be created in.
 * Used to find the parent resource to bind the IAM policy to
 * @property location The location in which the task will be created in.
 * Used to find the parent resource to bind the IAM policy to
 * @property project The ID of the project in which the resource belongs.
 * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
 * @property taskId
 */
public data class GetTaskIamPolicyPlainArgs(
    public val lake: String,
    public val location: String? = null,
    public val project: String? = null,
    public val taskId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataplex.inputs.GetTaskIamPolicyPlainArgs =
        com.pulumi.gcp.dataplex.inputs.GetTaskIamPolicyPlainArgs.builder()
            .lake(lake.let({ args0 -> args0 }))
            .location(location?.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 }))
            .taskId(taskId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTaskIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetTaskIamPolicyPlainArgsBuilder internal constructor() {
    private var lake: String? = null

    private var location: String? = null

    private var project: String? = null

    private var taskId: String? = null

    /**
     * @param value The lake in which the task will be created in.
     * Used to find the parent resource to bind the IAM policy to
     */
    @JvmName("kwqcuusgfvmhlimr")
    public suspend fun lake(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.lake = mapped
    }

    /**
     * @param value The location in which the task will be created in.
     * Used to find the parent resource to bind the IAM policy to
     */
    @JvmName("veniysjbxlykpkps")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.location = mapped
    }

    /**
     * @param value The ID of the project in which the resource belongs.
     * If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
     */
    @JvmName("advvmjqjhnfofklk")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.project = mapped
    }

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

    internal fun build(): GetTaskIamPolicyPlainArgs = GetTaskIamPolicyPlainArgs(
        lake = lake ?: throw PulumiNullFieldException("lake"),
        location = location,
        project = project,
        taskId = taskId ?: throw PulumiNullFieldException("taskId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy