com.pulumi.azure.redhatopenshift.kotlin.inputs.ClusterApiServerProfileArgs.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.redhatopenshift.kotlin.inputs
import com.pulumi.azure.redhatopenshift.inputs.ClusterApiServerProfileArgs.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 ipAddress The IP Address the Ingress Profile is associated with.
* @property url The URL the API Server Profile is associated with.
* @property visibility Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
*/
public data class ClusterApiServerProfileArgs(
public val ipAddress: Output? = null,
public val url: Output? = null,
public val visibility: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.redhatopenshift.inputs.ClusterApiServerProfileArgs =
com.pulumi.azure.redhatopenshift.inputs.ClusterApiServerProfileArgs.builder()
.ipAddress(ipAddress?.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 }))
.visibility(visibility.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ClusterApiServerProfileArgs].
*/
@PulumiTagMarker
public class ClusterApiServerProfileArgsBuilder internal constructor() {
private var ipAddress: Output? = null
private var url: Output? = null
private var visibility: Output? = null
/**
* @param value The IP Address the Ingress Profile is associated with.
*/
@JvmName("qwfnucrsyblsmugq")
public suspend fun ipAddress(`value`: Output) {
this.ipAddress = value
}
/**
* @param value The URL the API Server Profile is associated with.
*/
@JvmName("yvgrsoixmvkjgvrl")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
*/
@JvmName("kwqltnjjmysnjvbh")
public suspend fun visibility(`value`: Output) {
this.visibility = value
}
/**
* @param value The IP Address the Ingress Profile is associated with.
*/
@JvmName("recnjbsgugyvdinf")
public suspend fun ipAddress(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ipAddress = mapped
}
/**
* @param value The URL the API Server Profile is associated with.
*/
@JvmName("dnhxgogcxepuedtk")
public suspend fun url(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
/**
* @param value Cluster API server visibility. Supported values are `Public` and `Private`. Changing this forces a new resource to be created.
*/
@JvmName("klpnoilpfcnypsgw")
public suspend fun visibility(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.visibility = mapped
}
internal fun build(): ClusterApiServerProfileArgs = ClusterApiServerProfileArgs(
ipAddress = ipAddress,
url = url,
visibility = visibility ?: throw PulumiNullFieldException("visibility"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy