com.pulumi.kubernetes.extensions.v1beta1.kotlin.inputs.HTTPIngressRuleValueArgs.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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.extensions.v1beta1.kotlin.inputs
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 com.pulumi.kubernetes.extensions.v1beta1.inputs.HTTPIngressRuleValueArgs.builder
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
* @property paths A collection of paths that map requests to backends.
*/
public data class HTTPIngressRuleValueArgs(
public val paths: Output>,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.extensions.v1beta1.inputs.HTTPIngressRuleValueArgs =
com.pulumi.kubernetes.extensions.v1beta1.inputs.HTTPIngressRuleValueArgs.builder()
.paths(
paths.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [HTTPIngressRuleValueArgs].
*/
@PulumiTagMarker
public class HTTPIngressRuleValueArgsBuilder internal constructor() {
private var paths: Output>? = null
/**
* @param value A collection of paths that map requests to backends.
*/
@JvmName("ookuxpogqxnqjybu")
public suspend fun paths(`value`: Output>) {
this.paths = value
}
@JvmName("uxveyhajdattxfdk")
public suspend fun paths(vararg values: Output) {
this.paths = Output.all(values.asList())
}
/**
* @param values A collection of paths that map requests to backends.
*/
@JvmName("bxwiswkhpmdsmbha")
public suspend fun paths(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy