com.pulumi.azurenative.cloudngfw.kotlin.inputs.IPAddressArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.cloudngfw.kotlin.inputs
import com.pulumi.azurenative.cloudngfw.inputs.IPAddressArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* IP Address
* @property address Address value
* @property resourceId Resource Id
*/
public data class IPAddressArgs(
public val address: Output? = null,
public val resourceId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cloudngfw.inputs.IPAddressArgs =
com.pulumi.azurenative.cloudngfw.inputs.IPAddressArgs.builder()
.address(address?.applyValue({ args0 -> args0 }))
.resourceId(resourceId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IPAddressArgs].
*/
@PulumiTagMarker
public class IPAddressArgsBuilder internal constructor() {
private var address: Output? = null
private var resourceId: Output? = null
/**
* @param value Address value
*/
@JvmName("tuleifkkjxjirdww")
public suspend fun address(`value`: Output) {
this.address = value
}
/**
* @param value Resource Id
*/
@JvmName("qebgelwsnxnjnfjw")
public suspend fun resourceId(`value`: Output) {
this.resourceId = value
}
/**
* @param value Address value
*/
@JvmName("agqnftefgapnavfw")
public suspend fun address(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.address = mapped
}
/**
* @param value Resource Id
*/
@JvmName("uvgpmribobdepmbc")
public suspend fun resourceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceId = mapped
}
internal fun build(): IPAddressArgs = IPAddressArgs(
address = address,
resourceId = resourceId,
)
}