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

com.pulumi.azure.mobile.kotlin.inputs.GetNetworkSimPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.mobile.kotlin.inputs

import com.pulumi.azure.mobile.inputs.GetNetworkSimPlainArgs.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 getNetworkSim.
 * @property mobileNetworkSimGroupId The ID of the Mobile Network which the Mobile Network Sim belongs to.
 * @property name The name which should be used for this Mobile Network Sim.
 */
public data class GetNetworkSimPlainArgs(
    public val mobileNetworkSimGroupId: String,
    public val name: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.mobile.inputs.GetNetworkSimPlainArgs =
        com.pulumi.azure.mobile.inputs.GetNetworkSimPlainArgs.builder()
            .mobileNetworkSimGroupId(mobileNetworkSimGroupId.let({ args0 -> args0 }))
            .name(name.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetNetworkSimPlainArgs].
 */
@PulumiTagMarker
public class GetNetworkSimPlainArgsBuilder internal constructor() {
    private var mobileNetworkSimGroupId: String? = null

    private var name: String? = null

    /**
     * @param value The ID of the Mobile Network which the Mobile Network Sim belongs to.
     */
    @JvmName("aeoyglqmkttepimi")
    public suspend fun mobileNetworkSimGroupId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.mobileNetworkSimGroupId = mapped
    }

    /**
     * @param value The name which should be used for this Mobile Network Sim.
     */
    @JvmName("ouwunojdafyvjsnw")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.name = mapped
    }

    internal fun build(): GetNetworkSimPlainArgs = GetNetworkSimPlainArgs(
        mobileNetworkSimGroupId = mobileNetworkSimGroupId ?: throw
            PulumiNullFieldException("mobileNetworkSimGroupId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy