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

com.pulumi.azurenative.security.kotlin.inputs.GithubScopeEnvironmentDataArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.security.kotlin.inputs

import com.pulumi.azurenative.security.inputs.GithubScopeEnvironmentDataArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The github scope connector's environment data
 * @property environmentType The type of the environment data.
 * Expected value is 'GithubScope'.
 */
public data class GithubScopeEnvironmentDataArgs(
    public val environmentType: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.security.inputs.GithubScopeEnvironmentDataArgs =
        com.pulumi.azurenative.security.inputs.GithubScopeEnvironmentDataArgs.builder()
            .environmentType(environmentType.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [GithubScopeEnvironmentDataArgs].
 */
@PulumiTagMarker
public class GithubScopeEnvironmentDataArgsBuilder internal constructor() {
    private var environmentType: Output? = null

    /**
     * @param value The type of the environment data.
     * Expected value is 'GithubScope'.
     */
    @JvmName("ymwbffrslkwmmdob")
    public suspend fun environmentType(`value`: Output) {
        this.environmentType = value
    }

    /**
     * @param value The type of the environment data.
     * Expected value is 'GithubScope'.
     */
    @JvmName("nhwmucdrukljpgoo")
    public suspend fun environmentType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.environmentType = mapped
    }

    internal fun build(): GithubScopeEnvironmentDataArgs = GithubScopeEnvironmentDataArgs(
        environmentType = environmentType ?: throw PulumiNullFieldException("environmentType"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy