com.pulumi.kubernetes.extensions.v1beta1.kotlin.inputs.HTTPIngressRuleValuePatchArgs.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.extensions.v1beta1.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.extensions.v1beta1.inputs.HTTPIngressRuleValuePatchArgs.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 HTTPIngressRuleValuePatchArgs(
public val paths: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.kubernetes.extensions.v1beta1.inputs.HTTPIngressRuleValuePatchArgs =
com.pulumi.kubernetes.extensions.v1beta1.inputs.HTTPIngressRuleValuePatchArgs.builder()
.paths(
paths?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [HTTPIngressRuleValuePatchArgs].
*/
@PulumiTagMarker
public class HTTPIngressRuleValuePatchArgsBuilder internal constructor() {
private var paths: Output>? = null
/**
* @param value A collection of paths that map requests to backends.
*/
@JvmName("jonpxccpirtuyslo")
public suspend fun paths(`value`: Output>) {
this.paths = value
}
@JvmName("baweuoovepahrgqo")
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("lxwjlhjwvclqfjxp")
public suspend fun paths(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy