com.pulumi.kubernetes.discovery.v1.kotlin.inputs.EndpointHintsArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.discovery.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import com.pulumi.kubernetes.discovery.v1.inputs.EndpointHintsArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* EndpointHints provides hints describing how an endpoint should be consumed.
* @property forZones forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.
*/
public data class EndpointHintsArgs(
public val forZones: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.discovery.v1.inputs.EndpointHintsArgs =
com.pulumi.kubernetes.discovery.v1.inputs.EndpointHintsArgs.builder()
.forZones(
forZones?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EndpointHintsArgs].
*/
@PulumiTagMarker
public class EndpointHintsArgsBuilder internal constructor() {
private var forZones: Output>? = null
/**
* @param value forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.
*/
@JvmName("okmwtbupjlwcsvlk")
public suspend fun forZones(`value`: Output>) {
this.forZones = value
}
@JvmName("etjlmphawvextwld")
public suspend fun forZones(vararg values: Output) {
this.forZones = Output.all(values.asList())
}
/**
* @param values forZones indicates the zone(s) this endpoint should be consumed by to enable topology aware routing.
*/
@JvmName("vaputqornuskcmvk")
public suspend fun forZones(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy