All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.accesscontextmanager.kotlin.inputs.ServicePerimeterStatusEgressPolicyEgressFromSourceArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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.ServicePerimeterStatusEgressPolicyEgressFromSourceArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property accessLevel An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
 */
public data class ServicePerimeterStatusEgressPolicyEgressFromSourceArgs(
    public val accessLevel: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterStatusEgressPolicyEgressFromSourceArgs =
        com.pulumi.gcp.accesscontextmanager.inputs.ServicePerimeterStatusEgressPolicyEgressFromSourceArgs.builder()
            .accessLevel(accessLevel?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ServicePerimeterStatusEgressPolicyEgressFromSourceArgs].
 */
@PulumiTagMarker
public class ServicePerimeterStatusEgressPolicyEgressFromSourceArgsBuilder internal constructor() {
    private var accessLevel: Output? = null

    /**
     * @param value An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
     */
    @JvmName("hvjalrcwgjtnmaab")
    public suspend fun accessLevel(`value`: Output) {
        this.accessLevel = value
    }

    /**
     * @param value An AccessLevel resource name that allows resources outside the ServicePerimeter to be accessed from the inside.
     */
    @JvmName("eihjbislospgfgav")
    public suspend fun accessLevel(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessLevel = mapped
    }

    internal fun build(): ServicePerimeterStatusEgressPolicyEgressFromSourceArgs =
        ServicePerimeterStatusEgressPolicyEgressFromSourceArgs(
            accessLevel = accessLevel,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy