com.pulumi.azurenative.testbase.kotlin.inputs.GetCredentialPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.testbase.kotlin.inputs
import com.pulumi.azurenative.testbase.inputs.GetCredentialPlainArgs.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
/**
*
* @property credentialName The credential resource name.
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property testBaseAccountName The resource name of the Test Base Account.
*/
public data class GetCredentialPlainArgs(
public val credentialName: String,
public val resourceGroupName: String,
public val testBaseAccountName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.testbase.inputs.GetCredentialPlainArgs =
com.pulumi.azurenative.testbase.inputs.GetCredentialPlainArgs.builder()
.credentialName(credentialName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.testBaseAccountName(testBaseAccountName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetCredentialPlainArgs].
*/
@PulumiTagMarker
public class GetCredentialPlainArgsBuilder internal constructor() {
private var credentialName: String? = null
private var resourceGroupName: String? = null
private var testBaseAccountName: String? = null
/**
* @param value The credential resource name.
*/
@JvmName("ykxdocjspwgbfcwu")
public suspend fun credentialName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.credentialName = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("ajrlgokcabxrimgo")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The resource name of the Test Base Account.
*/
@JvmName("xrhfuqdhvkaiitxo")
public suspend fun testBaseAccountName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.testBaseAccountName = mapped
}
internal fun build(): GetCredentialPlainArgs = GetCredentialPlainArgs(
credentialName = credentialName ?: throw PulumiNullFieldException("credentialName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
testBaseAccountName = testBaseAccountName ?: throw PulumiNullFieldException("testBaseAccountName"),
)
}