com.pulumi.kubernetes.discovery.v1.kotlin.inputs.EndpointHintsPatchArgs.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.EndpointHintsPatchArgs.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 EndpointHintsPatchArgs(
public val forZones: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.discovery.v1.inputs.EndpointHintsPatchArgs =
com.pulumi.kubernetes.discovery.v1.inputs.EndpointHintsPatchArgs.builder()
.forZones(
forZones?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [EndpointHintsPatchArgs].
*/
@PulumiTagMarker
public class EndpointHintsPatchArgsBuilder 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("qfekodksuoqakenw")
public suspend fun forZones(`value`: Output>) {
this.forZones = value
}
@JvmName("taaqwoejpxexwuat")
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("vvyggbqphgwikkct")
public suspend fun forZones(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy