![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.AppSpecIngressRuleMatchArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-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.digitalocean.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.digitalocean.inputs.AppSpecIngressRuleMatchArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property path The path to match on.
*/
public data class AppSpecIngressRuleMatchArgs(
public val path: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.AppSpecIngressRuleMatchArgs =
com.pulumi.digitalocean.inputs.AppSpecIngressRuleMatchArgs.builder()
.path(path?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AppSpecIngressRuleMatchArgs].
*/
@PulumiTagMarker
public class AppSpecIngressRuleMatchArgsBuilder internal constructor() {
private var path: Output? = null
/**
* @param value The path to match on.
*/
@JvmName("jjsjgaowvxpfpnyr")
public suspend fun path(`value`: Output) {
this.path = value
}
/**
* @param value The path to match on.
*/
@JvmName("hpqxfkgmxjqykbqo")
public suspend fun path(`value`: AppSpecIngressRuleMatchPathArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.path = mapped
}
/**
* @param argument The path to match on.
*/
@JvmName("mnmthplcneyucash")
public suspend fun path(argument: suspend AppSpecIngressRuleMatchPathArgsBuilder.() -> Unit) {
val toBeMapped = AppSpecIngressRuleMatchPathArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.path = mapped
}
internal fun build(): AppSpecIngressRuleMatchArgs = AppSpecIngressRuleMatchArgs(
path = path,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy