com.pulumi.gcp.iap.kotlin.inputs.GetClientPlainArgs.kt Maven / Gradle / Ivy
@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("pfxikoskgojkiusv")
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("hknueycbqjrlxsrh")
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"),
)
}