com.pulumi.gcp.iap.kotlin.inputs.GetClientPlainArgs.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.iap.kotlin.inputs
import com.pulumi.gcp.iap.inputs.GetClientPlainArgs.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 getClient.
* @property brand The name of the brand.
* @property clientId The client_id of the brand.
*/
public data class GetClientPlainArgs(
public val brand: String,
public val clientId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.iap.inputs.GetClientPlainArgs =
com.pulumi.gcp.iap.inputs.GetClientPlainArgs.builder()
.brand(brand.let({ args0 -> args0 }))
.clientId(clientId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetClientPlainArgs].
*/
@PulumiTagMarker
public class GetClientPlainArgsBuilder internal constructor() {
private var brand: String? = null
private var clientId: String? = null
/**
* @param value The name of the brand.
*/
@JvmName("uptobtsnhlluhjof")
public suspend fun brand(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.brand = mapped
}
/**
* @param value The client_id of the brand.
*/
@JvmName("tfippvrbbdklujdk")
public suspend fun clientId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.clientId = mapped
}
internal fun build(): GetClientPlainArgs = GetClientPlainArgs(
brand = brand ?: throw PulumiNullFieldException("brand"),
clientId = clientId ?: throw PulumiNullFieldException("clientId"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy