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

com.pulumi.azure.datashare.kotlin.inputs.GetSharePlainArgs.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: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.datashare.kotlin.inputs

import com.pulumi.azure.datashare.inputs.GetSharePlainArgs.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 getShare.
 * @property accountId The ID of the Data Share account in which the Data Share is created.
 * @property name The name of this Data Share.
 */
public data class GetSharePlainArgs(
    public val accountId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.datashare.inputs.GetSharePlainArgs =
        com.pulumi.azure.datashare.inputs.GetSharePlainArgs.builder()
            .accountId(accountId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetSharePlainArgs].
 */
@PulumiTagMarker
public class GetSharePlainArgsBuilder internal constructor() {
    private var accountId: String? = null

    private var name: String? = null

    /**
     * @param value The ID of the Data Share account in which the Data Share is created.
     */
    @JvmName("pjfgmdxasrljatlc")
    public suspend fun accountId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.accountId = mapped
    }

    /**
     * @param value The name of this Data Share.
     */
    @JvmName("tyvprhrktwahokkp")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetSharePlainArgs = GetSharePlainArgs(
        accountId = accountId ?: throw PulumiNullFieldException("accountId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy