com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.accesscontextmanager.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyArgs.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 ingressFrom Defines the conditions on the source of a request causing this `IngressPolicy`
* to apply.
* Structure is documented below.
* @property ingressTo Defines the conditions on the `ApiOperation` and request destination that cause
* this `IngressPolicy` to apply.
* Structure is documented below.
*/
public data class ServicePerimetersServicePerimeterStatusIngressPolicyArgs(
public val ingressFrom: Output? = null,
public val ingressTo: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterStatusIngressPolicyArgs.builder()
.ingressFrom(ingressFrom?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ingressTo(ingressTo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ServicePerimetersServicePerimeterStatusIngressPolicyArgs].
*/
@PulumiTagMarker
public class ServicePerimetersServicePerimeterStatusIngressPolicyArgsBuilder internal constructor() {
private var ingressFrom:
Output? = null
private var ingressTo: Output? =
null
/**
* @param value Defines the conditions on the source of a request causing this `IngressPolicy`
* to apply.
* Structure is documented below.
*/
@JvmName("skgmypdiyvyevdfv")
public suspend fun ingressFrom(`value`: Output) {
this.ingressFrom = value
}
/**
* @param value Defines the conditions on the `ApiOperation` and request destination that cause
* this `IngressPolicy` to apply.
* Structure is documented below.
*/
@JvmName("nlahncvpanmgscdc")
public suspend fun ingressTo(`value`: Output) {
this.ingressTo = value
}
/**
* @param value Defines the conditions on the source of a request causing this `IngressPolicy`
* to apply.
* Structure is documented below.
*/
@JvmName("inmqawxomgqlycag")
public suspend fun ingressFrom(`value`: ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ingressFrom = mapped
}
/**
* @param argument Defines the conditions on the source of a request causing this `IngressPolicy`
* to apply.
* Structure is documented below.
*/
@JvmName("rbulaqboknadtsen")
public suspend fun ingressFrom(argument: suspend ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgsBuilder.() -> Unit) {
val toBeMapped =
ServicePerimetersServicePerimeterStatusIngressPolicyIngressFromArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.ingressFrom = mapped
}
/**
* @param value Defines the conditions on the `ApiOperation` and request destination that cause
* this `IngressPolicy` to apply.
* Structure is documented below.
*/
@JvmName("beswmhkhrexmekdo")
public suspend fun ingressTo(`value`: ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ingressTo = mapped
}
/**
* @param argument Defines the conditions on the `ApiOperation` and request destination that cause
* this `IngressPolicy` to apply.
* Structure is documented below.
*/
@JvmName("krdkmthfipffegyv")
public suspend fun ingressTo(argument: suspend ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgsBuilder.() -> Unit) {
val toBeMapped =
ServicePerimetersServicePerimeterStatusIngressPolicyIngressToArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.ingressTo = mapped
}
internal fun build(): ServicePerimetersServicePerimeterStatusIngressPolicyArgs =
ServicePerimetersServicePerimeterStatusIngressPolicyArgs(
ingressFrom = ingressFrom,
ingressTo = ingressTo,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy