com.pulumi.gcp.container.kotlin.inputs.GetAttachedInstallManifestPlainArgs.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.container.kotlin.inputs
import com.pulumi.gcp.container.inputs.GetAttachedInstallManifestPlainArgs.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 getAttachedInstallManifest.
* @property clusterId The name that will be used when creating the attached cluster resource.
* @property location The location to list versions for.
* @property platformVersion The platform version for the cluster. A list of valid values can be retrieved using the `gcp.container.getAttachedVersions` data source.
* @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 GetAttachedInstallManifestPlainArgs(
public val clusterId: String,
public val location: String,
public val platformVersion: String,
public val project: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.container.inputs.GetAttachedInstallManifestPlainArgs =
com.pulumi.gcp.container.inputs.GetAttachedInstallManifestPlainArgs.builder()
.clusterId(clusterId.let({ args0 -> args0 }))
.location(location.let({ args0 -> args0 }))
.platformVersion(platformVersion.let({ args0 -> args0 }))
.project(project.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetAttachedInstallManifestPlainArgs].
*/
@PulumiTagMarker
public class GetAttachedInstallManifestPlainArgsBuilder internal constructor() {
private var clusterId: String? = null
private var location: String? = null
private var platformVersion: String? = null
private var project: String? = null
/**
* @param value The name that will be used when creating the attached cluster resource.
*/
@JvmName("krndmfmjiigkcsml")
public suspend fun clusterId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.clusterId = mapped
}
/**
* @param value The location to list versions for.
*/
@JvmName("cmimjgvwiiafmpto")
public suspend fun location(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.location = mapped
}
/**
* @param value The platform version for the cluster. A list of valid values can be retrieved using the `gcp.container.getAttachedVersions` data source.
*/
@JvmName("ocifouigcchjhgrm")
public suspend fun platformVersion(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.platformVersion = 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("dhgjqufpynprrxqs")
public suspend fun project(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.project = mapped
}
internal fun build(): GetAttachedInstallManifestPlainArgs = GetAttachedInstallManifestPlainArgs(
clusterId = clusterId ?: throw PulumiNullFieldException("clusterId"),
location = location ?: throw PulumiNullFieldException("location"),
platformVersion = platformVersion ?: throw PulumiNullFieldException("platformVersion"),
project = project ?: throw PulumiNullFieldException("project"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy