com.pulumi.gcp.cloudquota.kotlin.inputs.GetSQuotaInfosPlainArgs.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.GetSQuotaInfosPlainArgs.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 getSQuotaInfos.
* @property parent Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
* @property service The name of the service in which the quotas are defined.
*/
public data class GetSQuotaInfosPlainArgs(
public val parent: String,
public val service: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudquota.inputs.GetSQuotaInfosPlainArgs =
com.pulumi.gcp.cloudquota.inputs.GetSQuotaInfosPlainArgs.builder()
.parent(parent.let({ args0 -> args0 }))
.service(service.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetSQuotaInfosPlainArgs].
*/
@PulumiTagMarker
public class GetSQuotaInfosPlainArgsBuilder internal constructor() {
private var parent: String? = null
private var service: String? = null
/**
* @param value Parent value of QuotaInfo resources. Listing across different resource containers (such as 'projects/-') is not allowed. Allowed parents are "projects/[project-id / number]" or "folders/[folder-id / number]" or "organizations/[org-id / number].
*/
@JvmName("sprkyxxywdxopapx")
public suspend fun parent(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.parent = mapped
}
/**
* @param value The name of the service in which the quotas are defined.
*/
@JvmName("llulxijhjuvnxqhv")
public suspend fun service(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.service = mapped
}
internal fun build(): GetSQuotaInfosPlainArgs = GetSQuotaInfosPlainArgs(
parent = parent ?: throw PulumiNullFieldException("parent"),
service = service ?: throw PulumiNullFieldException("service"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy