com.pulumi.gcp.cloudquota.kotlin.inputs.GetSQuotaInfoPlainArgs.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.cloudquota.kotlin.inputs
import com.pulumi.gcp.cloudquota.inputs.GetSQuotaInfoPlainArgs.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 getSQuotaInfo.
* @property parent The parent of the quota info. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
* @property quotaId The id of the quota, which is unique within the service.
* @property service The name of the service in which the quota is defined.
*/
public data class GetSQuotaInfoPlainArgs(
public val parent: String,
public val quotaId: String,
public val service: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudquota.inputs.GetSQuotaInfoPlainArgs =
com.pulumi.gcp.cloudquota.inputs.GetSQuotaInfoPlainArgs.builder()
.parent(parent.let({ args0 -> args0 }))
.quotaId(quotaId.let({ args0 -> args0 }))
.service(service.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSQuotaInfoPlainArgs].
*/
@PulumiTagMarker
public class GetSQuotaInfoPlainArgsBuilder internal constructor() {
private var parent: String? = null
private var quotaId: String? = null
private var service: String? = null
/**
* @param value The parent of the quota info. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
*/
@JvmName("efkuydmdaxltewem")
public suspend fun parent(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.parent = mapped
}
/**
* @param value The id of the quota, which is unique within the service.
*/
@JvmName("ojpakgijjchdlqga")
public suspend fun quotaId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.quotaId = mapped
}
/**
* @param value The name of the service in which the quota is defined.
*/
@JvmName("dletctwdbpndjggl")
public suspend fun service(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.service = mapped
}
internal fun build(): GetSQuotaInfoPlainArgs = GetSQuotaInfoPlainArgs(
parent = parent ?: throw PulumiNullFieldException("parent"),
quotaId = quotaId ?: throw PulumiNullFieldException("quotaId"),
service = service ?: throw PulumiNullFieldException("service"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy