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

com.pulumi.googlenative.compute.alpha.kotlin.inputs.GetInterconnectIamPolicyPlainArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.alpha.kotlin.inputs

import com.pulumi.googlenative.compute.alpha.inputs.GetInterconnectIamPolicyPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property optionsRequestedPolicyVersion
 * @property project
 * @property resource
 */
public data class GetInterconnectIamPolicyPlainArgs(
    public val optionsRequestedPolicyVersion: Int? = null,
    public val project: String? = null,
    public val resource: String,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.compute.alpha.inputs.GetInterconnectIamPolicyPlainArgs =
        com.pulumi.googlenative.compute.alpha.inputs.GetInterconnectIamPolicyPlainArgs.builder()
            .optionsRequestedPolicyVersion(optionsRequestedPolicyVersion?.let({ args0 -> args0 }))
            .project(project?.let({ args0 -> args0 }))
            .resource(resource.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetInterconnectIamPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetInterconnectIamPolicyPlainArgsBuilder internal constructor() {
    private var optionsRequestedPolicyVersion: Int? = null

    private var project: String? = null

    private var resource: String? = null

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

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

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

    internal fun build(): GetInterconnectIamPolicyPlainArgs = GetInterconnectIamPolicyPlainArgs(
        optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
        project = project,
        resource = resource ?: throw PulumiNullFieldException("resource"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy