![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.cloudngfw.kotlin.inputs.EndpointConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.cloudngfw.kotlin.inputs
import com.pulumi.azurenative.cloudngfw.inputs.EndpointConfigurationArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Endpoint Configuration for frontend and backend
* @property address Address Space
* @property port port ID
*/
public data class EndpointConfigurationArgs(
public val address: Output,
public val port: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.cloudngfw.inputs.EndpointConfigurationArgs =
com.pulumi.azurenative.cloudngfw.inputs.EndpointConfigurationArgs.builder()
.address(address.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.port(port.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EndpointConfigurationArgs].
*/
@PulumiTagMarker
public class EndpointConfigurationArgsBuilder internal constructor() {
private var address: Output? = null
private var port: Output? = null
/**
* @param value Address Space
*/
@JvmName("rhqvfdmybkhdhkcd")
public suspend fun address(`value`: Output) {
this.address = value
}
/**
* @param value port ID
*/
@JvmName("uxuyqawpnpvixreu")
public suspend fun port(`value`: Output) {
this.port = value
}
/**
* @param value Address Space
*/
@JvmName("vbwayiugcvqlssdm")
public suspend fun address(`value`: IPAddressArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.address = mapped
}
/**
* @param argument Address Space
*/
@JvmName("cpgboudmpbakdvpg")
public suspend fun address(argument: suspend IPAddressArgsBuilder.() -> Unit) {
val toBeMapped = IPAddressArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.address = mapped
}
/**
* @param value port ID
*/
@JvmName("ecieofptltcstcih")
public suspend fun port(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.port = mapped
}
internal fun build(): EndpointConfigurationArgs = EndpointConfigurationArgs(
address = address ?: throw PulumiNullFieldException("address"),
port = port ?: throw PulumiNullFieldException("port"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy