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

com.pulumi.gcp.healthcare.kotlin.inputs.GetDatasetIamPolicyPlainArgs.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.healthcare.kotlin.inputs

import com.pulumi.gcp.healthcare.inputs.GetDatasetIamPolicyPlainArgs.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 getDatasetIamPolicy.
 * @property datasetId The dataset ID, in the form
 * `{project_id}/{location_name}/{dataset_name}` or
 * `{location_name}/{dataset_name}`. In the second form, the provider's
 * project setting will be used as a fallback.
 */
public data class GetDatasetIamPolicyPlainArgs(
    public val datasetId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.healthcare.inputs.GetDatasetIamPolicyPlainArgs =
        com.pulumi.gcp.healthcare.inputs.GetDatasetIamPolicyPlainArgs.builder()
            .datasetId(datasetId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDatasetIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetDatasetIamPolicyPlainArgsBuilder internal constructor() {
    private var datasetId: String? = null

    /**
     * @param value The dataset ID, in the form
     * `{project_id}/{location_name}/{dataset_name}` or
     * `{location_name}/{dataset_name}`. In the second form, the provider's
     * project setting will be used as a fallback.
     */
    @JvmName("dtyrhomcgkfemnhk")
    public suspend fun datasetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.datasetId = mapped
    }

    internal fun build(): GetDatasetIamPolicyPlainArgs = GetDatasetIamPolicyPlainArgs(
        datasetId = datasetId ?: throw PulumiNullFieldException("datasetId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy