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

com.pulumi.cloudflare.kotlin.inputs.TeamsLocationNetworkArgs.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: 5.40.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.TeamsLocationNetworkArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
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 id The ID of this resource.
 * @property network CIDR notation representation of the network IP.
 */
public data class TeamsLocationNetworkArgs(
    public val id: Output? = null,
    public val network: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.TeamsLocationNetworkArgs =
        com.pulumi.cloudflare.inputs.TeamsLocationNetworkArgs.builder()
            .id(id?.applyValue({ args0 -> args0 }))
            .network(network.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TeamsLocationNetworkArgs].
 */
@PulumiTagMarker
public class TeamsLocationNetworkArgsBuilder internal constructor() {
    private var id: Output? = null

    private var network: Output? = null

    /**
     * @param value The ID of this resource.
     */
    @JvmName("mkupsyhqqbhhcbfi")
    public suspend fun id(`value`: Output) {
        this.id = value
    }

    /**
     * @param value CIDR notation representation of the network IP.
     */
    @JvmName("lxsjsspeuvppchnm")
    public suspend fun network(`value`: Output) {
        this.network = value
    }

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

    /**
     * @param value CIDR notation representation of the network IP.
     */
    @JvmName("jkqcgffobeidrpbo")
    public suspend fun network(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.network = mapped
    }

    internal fun build(): TeamsLocationNetworkArgs = TeamsLocationNetworkArgs(
        id = id,
        network = network ?: throw PulumiNullFieldException("network"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy