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

com.pulumi.gcp.container.kotlin.inputs.GetAttachedVersionsPlainArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.container.kotlin.inputs

import com.pulumi.gcp.container.inputs.GetAttachedVersionsPlainArgs.builder
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

/**
 * A collection of arguments for invoking getAttachedVersions.
 * @property location The location to list versions for.
 * @property project ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
 * Defaults to the project that the provider is authenticated with.
 */
public data class GetAttachedVersionsPlainArgs(
    public val location: String,
    public val project: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.GetAttachedVersionsPlainArgs =
        com.pulumi.gcp.container.inputs.GetAttachedVersionsPlainArgs.builder()
            .location(location.let({ args0 -> args0 }))
            .project(project.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetAttachedVersionsPlainArgs].
 */
@PulumiTagMarker
public class GetAttachedVersionsPlainArgsBuilder internal constructor() {
    private var location: String? = null

    private var project: String? = null

    /**
     * @param value The location to list versions for.
     */
    @JvmName("tojybcotxmborjhp")
    public suspend fun location(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.location = mapped
    }

    /**
     * @param value ID of the project to list available platform versions for. Should match the project the cluster will be deployed to.
     * Defaults to the project that the provider is authenticated with.
     */
    @JvmName("jbrksogscvgjuwqu")
    public suspend fun project(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.project = mapped
    }

    internal fun build(): GetAttachedVersionsPlainArgs = GetAttachedVersionsPlainArgs(
        location = location ?: throw PulumiNullFieldException("location"),
        project = project ?: throw PulumiNullFieldException("project"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy