![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.dbforpostgresql.kotlin.inputs.GetRolePlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.dbforpostgresql.kotlin.inputs
import com.pulumi.azurenative.dbforpostgresql.inputs.GetRolePlainArgs.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 clusterName The name of the cluster.
* @property resourceGroupName The name of the resource group. The name is case insensitive.
* @property roleName The name of the cluster role.
*/
public data class GetRolePlainArgs(
public val clusterName: String,
public val resourceGroupName: String,
public val roleName: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.dbforpostgresql.inputs.GetRolePlainArgs =
com.pulumi.azurenative.dbforpostgresql.inputs.GetRolePlainArgs.builder()
.clusterName(clusterName.let({ args0 -> args0 }))
.resourceGroupName(resourceGroupName.let({ args0 -> args0 }))
.roleName(roleName.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetRolePlainArgs].
*/
@PulumiTagMarker
public class GetRolePlainArgsBuilder internal constructor() {
private var clusterName: String? = null
private var resourceGroupName: String? = null
private var roleName: String? = null
/**
* @param value The name of the cluster.
*/
@JvmName("hgmbwesrngwftjlp")
public suspend fun clusterName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.clusterName = mapped
}
/**
* @param value The name of the resource group. The name is case insensitive.
*/
@JvmName("jnyjwpuilofknohc")
public suspend fun resourceGroupName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.resourceGroupName = mapped
}
/**
* @param value The name of the cluster role.
*/
@JvmName("feuaarmtwpewnfus")
public suspend fun roleName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.roleName = mapped
}
internal fun build(): GetRolePlainArgs = GetRolePlainArgs(
clusterName = clusterName ?: throw PulumiNullFieldException("clusterName"),
resourceGroupName = resourceGroupName ?: throw PulumiNullFieldException("resourceGroupName"),
roleName = roleName ?: throw PulumiNullFieldException("roleName"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy