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

com.pulumi.googlenative.gkehub.v1alpha.kotlin.ScopeArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.gkehub.v1alpha.kotlin

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.gkehub.v1alpha.ScopeArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Creates a Scope.
 * Auto-naming is currently not supported for this resource.
 * @property allMemberships If true, all Memberships in the Fleet bind to this Scope.
 * @property location
 * @property name The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`
 * @property project
 * @property scopeId Required. Client chosen ID for the Scope. `scope_id` must be a ????
 */
public data class ScopeArgs(
    public val allMemberships: Output? = null,
    public val location: Output? = null,
    public val name: Output? = null,
    public val project: Output? = null,
    public val scopeId: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.gkehub.v1alpha.ScopeArgs =
        com.pulumi.googlenative.gkehub.v1alpha.ScopeArgs.builder()
            .allMemberships(allMemberships?.applyValue({ args0 -> args0 }))
            .location(location?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .project(project?.applyValue({ args0 -> args0 }))
            .scopeId(scopeId?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ScopeArgs].
 */
@PulumiTagMarker
public class ScopeArgsBuilder internal constructor() {
    private var allMemberships: Output? = null

    private var location: Output? = null

    private var name: Output? = null

    private var project: Output? = null

    private var scopeId: Output? = null

    /**
     * @param value If true, all Memberships in the Fleet bind to this Scope.
     */
    @JvmName("wsmkposxhnrihdwh")
    public suspend fun allMemberships(`value`: Output) {
        this.allMemberships = value
    }

    /**
     * @param value
     */
    @JvmName("mvhagdfbgwuethdy")
    public suspend fun location(`value`: Output) {
        this.location = value
    }

    /**
     * @param value The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`
     */
    @JvmName("pxhatdoyjnpajbri")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("iiooebpjqfamhdyl")
    public suspend fun project(`value`: Output) {
        this.project = value
    }

    /**
     * @param value Required. Client chosen ID for the Scope. `scope_id` must be a ????
     */
    @JvmName("gwcqrxoptwviielt")
    public suspend fun scopeId(`value`: Output) {
        this.scopeId = value
    }

    /**
     * @param value If true, all Memberships in the Fleet bind to this Scope.
     */
    @JvmName("lcptviuuwopjcdne")
    public suspend fun allMemberships(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allMemberships = mapped
    }

    /**
     * @param value
     */
    @JvmName("ngbieayjcejvbtkl")
    public suspend fun location(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.location = mapped
    }

    /**
     * @param value The resource name for the scope `projects/{project}/locations/{location}/scopes/{scope}`
     */
    @JvmName("yfxlbgsyenjobcvp")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("mumrfvqkecdggudv")
    public suspend fun project(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.project = mapped
    }

    /**
     * @param value Required. Client chosen ID for the Scope. `scope_id` must be a ????
     */
    @JvmName("hhyibxcgqjsufjxf")
    public suspend fun scopeId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.scopeId = mapped
    }

    internal fun build(): ScopeArgs = ScopeArgs(
        allMemberships = allMemberships,
        location = location,
        name = name,
        project = project,
        scopeId = scopeId,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy