com.pulumi.azurenative.network.kotlin.inputs.RadiusServerArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.network.kotlin.inputs
import com.pulumi.azurenative.network.inputs.RadiusServerArgs.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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Radius Server Settings.
* @property radiusServerAddress The address of this radius server.
* @property radiusServerScore The initial score assigned to this radius server.
* @property radiusServerSecret The secret used for this radius server.
*/
public data class RadiusServerArgs(
public val radiusServerAddress: Output,
public val radiusServerScore: Output? = null,
public val radiusServerSecret: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.network.inputs.RadiusServerArgs =
com.pulumi.azurenative.network.inputs.RadiusServerArgs.builder()
.radiusServerAddress(radiusServerAddress.applyValue({ args0 -> args0 }))
.radiusServerScore(radiusServerScore?.applyValue({ args0 -> args0 }))
.radiusServerSecret(radiusServerSecret?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [RadiusServerArgs].
*/
@PulumiTagMarker
public class RadiusServerArgsBuilder internal constructor() {
private var radiusServerAddress: Output? = null
private var radiusServerScore: Output? = null
private var radiusServerSecret: Output? = null
/**
* @param value The address of this radius server.
*/
@JvmName("grvyjqsvdvkxpewk")
public suspend fun radiusServerAddress(`value`: Output) {
this.radiusServerAddress = value
}
/**
* @param value The initial score assigned to this radius server.
*/
@JvmName("pkkpkwnarxwmnpld")
public suspend fun radiusServerScore(`value`: Output) {
this.radiusServerScore = value
}
/**
* @param value The secret used for this radius server.
*/
@JvmName("gqbtunhqkxqaxseh")
public suspend fun radiusServerSecret(`value`: Output) {
this.radiusServerSecret = value
}
/**
* @param value The address of this radius server.
*/
@JvmName("djlkbuojhrhqgmmk")
public suspend fun radiusServerAddress(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.radiusServerAddress = mapped
}
/**
* @param value The initial score assigned to this radius server.
*/
@JvmName("pcumwwmoakdslarp")
public suspend fun radiusServerScore(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.radiusServerScore = mapped
}
/**
* @param value The secret used for this radius server.
*/
@JvmName("uhvysdvjcuxnpkrd")
public suspend fun radiusServerSecret(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.radiusServerSecret = mapped
}
internal fun build(): RadiusServerArgs = RadiusServerArgs(
radiusServerAddress = radiusServerAddress ?: throw PulumiNullFieldException("radiusServerAddress"),
radiusServerScore = radiusServerScore,
radiusServerSecret = radiusServerSecret,
)
}