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

com.pulumi.azurenative.network.kotlin.inputs.GetStaticCidrPlainArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.network.kotlin.inputs

import com.pulumi.azurenative.network.inputs.GetStaticCidrPlainArgs.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

/**
 *
 * @property networkManagerName The name of the network manager.
 * @property poolName Pool resource name.
 * @property resourceGroupName The name of the resource group.
 * @property staticCidrName StaticCidr resource name to retrieve.
 */
public data class GetStaticCidrPlainArgs(
    public val networkManagerName: String,
    public val poolName: String,
    public val resourceGroupName: String,
    public val staticCidrName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.network.inputs.GetStaticCidrPlainArgs =
        com.pulumi.azurenative.network.inputs.GetStaticCidrPlainArgs.builder()
            .networkManagerName(networkManagerName.let({ args0 -> args0 }))
            .poolName(poolName.let({ args0 -> args0 }))
            .resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
            .staticCidrName(staticCidrName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetStaticCidrPlainArgs].
 */
@PulumiTagMarker
public class GetStaticCidrPlainArgsBuilder internal constructor() {
    private var networkManagerName: String? = null

    private var poolName: String? = null

    private var resourceGroupName: String? = null

    private var staticCidrName: String? = null

    /**
     * @param value The name of the network manager.
     */
    @JvmName("vccffkwlxxpgycto")
    public suspend fun networkManagerName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.networkManagerName = mapped
    }

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

    /**
     * @param value The name of the resource group.
     */
    @JvmName("jatplswxxfkuhoqk")
    public suspend fun resourceGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.resourceGroupName = mapped
    }

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

    internal fun build(): GetStaticCidrPlainArgs = GetStaticCidrPlainArgs(
        networkManagerName = networkManagerName ?: throw PulumiNullFieldException("networkManagerName"),
        poolName = poolName ?: throw PulumiNullFieldException("poolName"),
        resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
        staticCidrName = staticCidrName ?: throw PulumiNullFieldException("staticCidrName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy