com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimetersServicePerimeterSpecIngressPolicyArgs.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.ServicePerimetersServicePerimeterSpecIngressPolicyArgs.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 ServicePerimetersServicePerimeterSpecIngressPolicyArgs(
public val ingressFrom: Output? =
null,
public val ingressTo: Output? =
null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterSpecIngressPolicyArgs =
com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimetersServicePerimeterSpecIngressPolicyArgs.builder()
.ingressFrom(ingressFrom?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ingressTo(ingressTo?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ServicePerimetersServicePerimeterSpecIngressPolicyArgs].
*/
@PulumiTagMarker
public class ServicePerimetersServicePerimeterSpecIngressPolicyArgsBuilder 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("bblspdirmqdvfics")
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("psjotlhjkggekski")
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("igeljwaoigtfifsq")
public suspend fun ingressFrom(`value`: ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgs?) {
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("dlysyrhgbpnrcrtt")
public suspend fun ingressFrom(argument: suspend ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgsBuilder.() -> Unit) {
val toBeMapped =
ServicePerimetersServicePerimeterSpecIngressPolicyIngressFromArgsBuilder().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("seafxpvfgdirexyh")
public suspend fun ingressTo(`value`: ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgs?) {
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("ucshqwqrsjsvlsgh")
public suspend fun ingressTo(argument: suspend ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgsBuilder.() -> Unit) {
val toBeMapped =
ServicePerimetersServicePerimeterSpecIngressPolicyIngressToArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.ingressTo = mapped
}
internal fun build(): ServicePerimetersServicePerimeterSpecIngressPolicyArgs =
ServicePerimetersServicePerimeterSpecIngressPolicyArgs(
ingressFrom = ingressFrom,
ingressTo = ingressTo,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy