com.pulumi.azure.media.kotlin.inputs.LiveEventPreviewIpAccessControlAllowArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.media.kotlin.inputs
import com.pulumi.azure.media.inputs.LiveEventPreviewIpAccessControlAllowArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property address The IP address or CIDR range.
* @property name The friendly name for the IP address range.
* @property subnetPrefixLength The subnet mask prefix length (see CIDR notation).
*/
public data class LiveEventPreviewIpAccessControlAllowArgs(
public val address: Output? = null,
public val name: Output? = null,
public val subnetPrefixLength: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.media.inputs.LiveEventPreviewIpAccessControlAllowArgs =
com.pulumi.azure.media.inputs.LiveEventPreviewIpAccessControlAllowArgs.builder()
.address(address?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.subnetPrefixLength(subnetPrefixLength?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LiveEventPreviewIpAccessControlAllowArgs].
*/
@PulumiTagMarker
public class LiveEventPreviewIpAccessControlAllowArgsBuilder internal constructor() {
private var address: Output? = null
private var name: Output? = null
private var subnetPrefixLength: Output? = null
/**
* @param value The IP address or CIDR range.
*/
@JvmName("jipircgmgqiakoxg")
public suspend fun address(`value`: Output) {
this.address = value
}
/**
* @param value The friendly name for the IP address range.
*/
@JvmName("wxreynrhvdglxrwf")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The subnet mask prefix length (see CIDR notation).
*/
@JvmName("ugvbagecwvakpjbi")
public suspend fun subnetPrefixLength(`value`: Output) {
this.subnetPrefixLength = value
}
/**
* @param value The IP address or CIDR range.
*/
@JvmName("rdihjfbymokngpdh")
public suspend fun address(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.address = mapped
}
/**
* @param value The friendly name for the IP address range.
*/
@JvmName("ftdxhnpxabjclmuw")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value The subnet mask prefix length (see CIDR notation).
*/
@JvmName("agsqpgotfkwddwen")
public suspend fun subnetPrefixLength(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.subnetPrefixLength = mapped
}
internal fun build(): LiveEventPreviewIpAccessControlAllowArgs =
LiveEventPreviewIpAccessControlAllowArgs(
address = address,
name = name,
subnetPrefixLength = subnetPrefixLength,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy