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

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

package com.pulumi.gcp.storage.kotlin.inputs

import com.pulumi.gcp.storage.inputs.GetManagedFolderIamPolicyPlainArgs.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 getManagedFolderIamPolicy.
 * @property bucket
 * @property managedFolder
 */
public data class GetManagedFolderIamPolicyPlainArgs(
    public val bucket: String,
    public val managedFolder: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.storage.inputs.GetManagedFolderIamPolicyPlainArgs =
        com.pulumi.gcp.storage.inputs.GetManagedFolderIamPolicyPlainArgs.builder()
            .bucket(bucket.let({ args0 -> args0 }))
            .managedFolder(managedFolder.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetManagedFolderIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetManagedFolderIamPolicyPlainArgsBuilder internal constructor() {
    private var bucket: String? = null

    private var managedFolder: String? = null

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

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

    internal fun build(): GetManagedFolderIamPolicyPlainArgs = GetManagedFolderIamPolicyPlainArgs(
        bucket = bucket ?: throw PulumiNullFieldException("bucket"),
        managedFolder = managedFolder ?: throw PulumiNullFieldException("managedFolder"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy