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

com.pulumi.azure.mobile.kotlin.inputs.GetNetworkSimPolicyPlainArgs.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.mobile.kotlin.inputs

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

/**
 * Builder for [GetNetworkSimPolicyPlainArgs].
 */
@PulumiTagMarker
public class GetNetworkSimPolicyPlainArgsBuilder internal constructor() {
    private var mobileNetworkId: String? = null

    private var name: String? = null

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

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

    internal fun build(): GetNetworkSimPolicyPlainArgs = GetNetworkSimPolicyPlainArgs(
        mobileNetworkId = mobileNetworkId ?: throw PulumiNullFieldException("mobileNetworkId"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy